Avoid the dependency on BAMF and integrate application matching in libplank.
Bug watches keep track of this bug in other bug trackers.