Allow forced no registration and POST method for setState

Allow the AP to explicitly store a state document with no registration by passing a registration of null in the configuration.

Allow the AP to specify it wants to use POST instead of PUT for application/json.

Supersedes https://github.com/RusticiSoftware/TinCanJS/pull/93
Merge the two if checks? !== to undefined && !== to null?