Tests cleanup. Removed redundant tests, fixed tests that were broken.
Error trapping to data validation.
Some example curl statements for testing.
Merge pull request #97 from Adron/master

Code Cleanup, Etc.