Improve creation of library view from advanced search

- use $rs->as_query instead of interpolating variables
- fix album based definitions
- show number of tracks in library views list