Added a method to check if the current client is authenticated for a given username and password.
Throw a JSONException if a Resource doesn't have an isa field instead of returning null in SensorflareClient:getResourceDetails().
Also get the unit of measurement for a resource (and intelligence).
Fix for null name issue
Merge pull request #2 from feugatos/master

Added a method to check if the current client is authenticated for a giv...