Move triplocation ajax calls into Trip class.

They become reactions to the add/remove/update events.
Move locations ajax getter into Library.
Add Store.getById()