proper creation of custom exception
proper way to iterate on enumerables of an Array thay may have its prototype extended
Added a fourth 'options' parameter for request. The first option I created allows us to accept non-json (binary for example) resources sent by the API, like photos or videos
Edited example
indent
Updated the doc and the default content-type to a more proper 'application/json'.
Merge branch 'contenttypes'
Merge branch 'enumerable'
Automatically add the appsecret_proof parameter to request when possible
Merge branch 'appsecretproof'