added the pure cloudify rails example

see the redmine application - this is the first working version but there are still parts missing.
also some various enhancements - mainly to the Shell library