Travis: Initiating build for commit 'f05a25d60acb670d4292c67a10d0b408643ed3df' on branch 'master': moved some queries within core to model files

This is only a start. Especially the Tracker model contains quite a bunch of different models. Ideally, one day, the tracker is refactored and all the goal tracker stuff including the queries are in the goal plugins, all the ecommerce stuff is in an ecommerce plugin etc. Haven't moved some of the LogAggregator queries.