Introducing Error class to manage error from any point of program execution.

It currently handels server error, response error
Merge branch 'master' of github.com:bunksoft/SearchAPI