Updating the error handling within the sample code
https://jira.messagebus.com/browse/BUGS-274 adding optional param for templat uri
Refactoring the MSBClient constructor to take a config hash, added two tests for templates, reformating and edits to doc sections above tempaltes
https://jira.messagebus.com/browse/BUGS-274 - adding template tests for template create, followed by using it to send email. Also some code reformating and fixed the json blob that is passed into the test - it was not being escaped
Replacing our test domain email with example.com
Adding test skip since it creates a server side template
Fixing the way the szie of the message is calculated, using both html and plaintext fields.  Also fixing formatting of the message_batch_stream, it had tabs spaces all over the place.  Also fixing typo within a param in the  example code
Updating the version number of the project within the new branch
Merged master. fixed conflict
Remocing math.max to pick between to vals