Refactor adapder base. First implementation of new store completed. Closes troopjs/troopjs-data#9