[MECHDB] pushed common code from generated abstract content provider into base provider, added selectMap method to SQuery, fixes #104