Bundle beets resolver

* Bundle resolver
* Add GPL header 
* Now using a consistent coding style (could be checked with jslint)

This pull-request makes use of the resolver bundle feature for tomahawk.