Change post requests to send url encoded form data
Change post requests to url encoded form data, add javadoc descriptions
Added array options to categories methods, added tests.