Changed namespace of XenAPI and replaced double quotes with single ones where possible.
Moved things around in preperation of using XenAPI as an include in PHP.
XenAPI no longer depends on REST API, ie REST API is independent.
Fixed last couple of errors, XenAPI is now fully independent of the REST API.
Added a "getAddons" action.
Added documentation for the Addon class.
The "getAddons" action should require an administrator's hash or API key and not just a regular user hash.
Added new action "getAddon".
Header's content-type should be "application/json".
Added implementation for 2 new actions: "getResources" & "getResource"
Added a check to see if the API key has been changed.
Added another check to see if the "Resource" model was loaded, throws error now if someone tries to use the actions that use the resource manager.