Moved queryTypes to a js/queries folder, where all things related to registering queries should go.
Moved xmla queries to a dedicated file. Core queries are now cad, cpk endpoints and legacy. coreQueries.js also has the BaseQuery definition.