FIX: notices and errors in get_connections()

The method get_connections() tries to determine the count of connected entities in a faulty way.
This raises an "undefined property" notice.
Once this is line of code is fixed one gets the following error:

"PHP Fatal error:  Cannot use object of type Entity as array in ..."

This is caused by the following code:
"$this[$connection][$result['entities'][$i]['username']] = $result['entities'][$i];"

Introduced a temporary variable "$tmp_entity" in the for loop for more readability.
FIX: accidentally committed with wrong entity class name

last commit contained a wrong class name for the Entity
fixed bug in queryEntityConnectionsAsync and queryEntityConnectionsWithinLocationAsync
fixed typo
Handle malformed responses

When userGrid is down or returns something unexpected this response handler throws an exception because it tries to access properties of undefined.
remove account from analytics
fixing google analytics ,fixing null reference issues and removing bower compress
removing compress
updating bower components
Merge pull request #136 from shawnfeldman/master

Fixing google analytics overrides
Merge branch 'master' of https://github.com/usergrid/usergrid
Fix for disconnectEntitiesAsync and added name support
Merge pull request #133 from amuramoto/master

Bug fixes
fixing menu bug
building release files
must_match flag should match all containing '=' (like post.rb already does)
new version
Fix and test for USERGRID-49
Null check to fix NPE when user validation fails due to missing email
Merge pull request #141 from aweeraman/USERGRID-49

Fix and test for USERGRID-49