Added codes to exceptions thrown by the SDK.
Merge pull request #72 from facebook/gFosco.exceptions

Added codes to exceptions thrown by the SDK.