Revert "t"

This reverts commit 7b518e124cdc31852df3caa8cd5864f35206cebd.
Revert "added review comments for the fix for bug USERGRID-22, ICLA - Malaka Mahanama"

This reverts commit e186568e0f32a78fee53b2006691337def1729e3.
Revert "Revert "added review comments for the fix for bug USERGRID-22, ICLA - Malaka Mahanama""

This reverts commit e0dfaad6576ea86a0463f434e8317b07482c053d.
removing dynamic_property when value is empty
Merge remote-tracking branch 'upstream/master'
Merge pull request #105 from malakaM/22

Fix for Usergrid-22
fixed bad id in users introjs help
Fixing recaptcha. Upgrading to version 0.0.8 and including as a local dependency since that version is not in maven central
Bugfix: missing dollar signs in get_connections()
Added SDK methods for entities and logout
Merge pull request #126 from amuramoto/master

fixed bad id in users introjs help
Merge pull request #130 from timwillsie/patch-2

Bugfix: missing dollar signs in get_connections()
added check for singular 'user' in getEntityId
Merge branch 'master' of https://github.com/usergrid/usergrid
ran grunt
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
Merge pull request #131 from amuramoto/master

Updated getEntityId
fixed bug in queryEntityConnectionsAsync and queryEntityConnectionsWithinLocationAsync
fixed typo