Fixed some errors in documentation. Initial work on adding unit tests.

git-svn-id: https://svn.apache.org/repos/asf/bloodhound/branches/bep_0011_batch_create_tickets@1618477 13f79535-47bb-0310-9956-ffa450edef68