Feature reimpl track management

The Track class now represents a classic object without any connection to the database implementation. This makes the database and track managment much more transparent and less error prone. Also there are now two subclasses (LocalTrack and RemoteTrack).