Added common errors throwed.

Fixes #491
Finally added support for Jsonp

Fixes #343