Trivial change
Closing connection if fails registering UA
Fix datastore::getApplication to use index instead of really slow queries
Merge pull request #265 from willyaranda/getApplication_using_index

Fix datastore::getApplication to use index instead of really slow queries