frontend - add lib to in memory database
frontend - create datastore factory added to ngBackendMock
frontend - requirejs mock - update ref's