add authentication method for api
Fixed errors and logic in sessions_controller.rb
Added medication_controller.rb updated routes
Revert "Added medication_controller.rb updated routes"

This reverts commit 715e83aa536a5242eecbadcb1265ba6a8f818adf.
Revert "Revert "Added medication_controller.rb updated routes""

This reverts commit 6dc639c500233152deb16ce536614236a1df5e08.
Created RestClient wrapper ApiRemoteRequest to handle back-end authentication failures gracefully.
Implemented remaining Navitus API methods and did some basic tests. Added 2 new classes to the Navitus lib.
Additional API work. Added an HTML/JQuery API Test in /public/api_test
Added to api_test functionality. Tested API pharmacy lookup and location searches.
Finished location search and dded basic styling to API Test.
fix IDE parsing error.  removing obsolete code.
Added api/medication/index.html.erb with API documentation.
fix IDE parsing error.  removing obsolete code.
remove debug code
change navitus lookup ui to use new API and fix some issues.

add daily supply and quanity
merge from jeffh-api-card
Merge branch 'master' into development