cleanup
move test file
extract test resource request into its own class
Fix ServerConfig

* Validation was incorrectly skipped
* Separated into two classes:
  * Generic server config for most grant types, with only token endpoint
  * Special server config for authorization code grant, with both token
    and authorization endpoints