more bug fixes for REST integration
Added rest-client to our Gemfile
updated patient model to work with the restclient
whitespace improvements
changes to the encounger model for rest-client, and better error logging
changes to image model for rest-client and better error reporting
merging rest-client branch