First step towards separating last.fm and MP code with a view to sharing the implementation between MP1 and MP2.
Added extra config option to remove duplicate tracks
Fixed code removed in error in music playlist code.