Forgot to commit
Quite a bit of refactoring of the AM manager to separate out the resource scheduling function (am_scheduler.rb) and the authoriser (not implemented yet).

Also did quite a bit of work on cleaning up the resource specs and added one for the am_manager.
OK< here is an authorizer which doesn't allow for anything and is a good starting point for something more useful.
Renamed the abstract authoriser into a default one, which now makes decision based on a permission hash presented at initialisation time. Also refactored the AM manager to distinguish more clearly between actions which are taken on the base resources and those within an account (slice)
added some dependecies for being able to run the tests with rake
formating... a meaningless commit
leases functionality introduced
Minor changes.
1. Indentation fixes
2. active_support added as a requirement. We use the camelize method for
stings which is provided by active_support.
3. added the ability to create the database in a file instead of
creating it only in the memory.
rspecs update
leases functionality improved
bug fixes for the server and the XML-RPC api. Server now runs normally with the SFA XML-RPC methods. In future commit the methods will be also fully functional.
modifications to the xml-rpc service and the rackup file. It wasn't working whenever an invalid xml-rpc method was invoked. A new Authorizer object is being created each time a new xml-rpc request is being received. Started writing the tests for the xml-rpc methods.
The management of credentials is now part of the Authorizer. Refactoring in XML-RPC service and simple specs were created for testing the rpc methods. There aren't much things to test in there...
Merge pull request #1 from dostavro/master

Update
Added missing dependencies and also disabled Rack::Lint as there seems to be an issue with sfi.py.
Merged authorizer with the default_authorizer. We now handle certificate and credentials with verifying them. We also check if the subject of the certificate is the same with the owner of the credentials. We can now call Listresources and CreateSliver with sfi.
Updated the database model which now includes a Project model along with a tie table between project and user. Project has 1 to 1 relationship with OAccount whereas the relationship between the User and the Project is many to many. Modified also the am_manager with some methods regarding the users. Added a save statement when the renew_account method is called and the account is modified. Last but not least extended a little bit the testing file of oaccount.
Fixed the RPC interface to respond quite well to sfi.py calls. All policy decisions are being made in the context of the Authorizer. Tha last one changed a lot and a default policy has been implemented. Some changes were also made in the am_manager. Some small fixes were made in the am_scheduler and in privilege_credential.
Lots of small changes cleaning up, specifically around the authoriser for the XML-RPC service
added some comments regarding the leases in the update_resource method