Refactored for better testability and cache management.
Created a set of domain classes for parsing and storing queried
resources.
Separated caching code from api client.
Defined interface for getting rightscale resources from api client
or cache.
add junit dependency.