Build with qt51

Add changes to compile with Qt 5.1, e.g. adding a new way to handle UrlQueries

This incorporates @muesli changes from https://github.com/lastfm/liblastfm/pull/17