usergrid/usergrid — pull request #131 by amuramoto (2014-04-30 00:31:32+00:00)
Title: Updated getEntityId

Added check for type === 'user' since people sometimes don't pluralize their collection names in requests. Also, the var 'type' could be confused with entity 'type' vs collection type.