Re-factoring exceptions - Created base_error.rb
Refracting exceptions - having both error_code and message for api errors
Re-factoring exceptions - extending exceptions from BaseError
Merge pull request #2 from amitrawal/exception_handling_refactor

Exception handling refactor to include error code. (Code changes on behalf of Ulka)