models: add security model to verify users permissions

This is the first step at integrating RBAC on the client side.
Each call now accepts an optional hash parameter, in which you
can specify a :username and :password.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
api: allow client to pass :api_key and :api_secret on a per call basis

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
http: add support for JSESSIONID

The JSESSIONID is now extracted and saved in the Resource(s) object
(along with the response and etag).

The client can then cache it and specify it in the options hash for
subsequent calls, instead of :username and :password.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
models: add support for basic tenant operations

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
version: bump to 0.2.0

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>