Reorganized constants.
Added quicker compiling/testing targets.
Added a new POST function for calls with auth.
Added notes about getting a particular flavor and image.
Added new improved json wrapper funcs.

Also:
 * split out common functionality in partition code
 * updated, improved, and added unit tests
Updated to use new json wrappers.

Also: moved login/3 to the same place in the file as the other login functions.
Added functions for getting flavor and image ids from lists.
Added function for creating new-server payloads.