Added validation and test for non-int error_code defaulting to 0.

Related to PR #29, this will add some validation and a test to ensure the error_code for a FacebookApiException is an integer value.