Refactoring Tests and Adding CI

Integrated fluent and nested testing to make the intended purpose clearer and to simplify some of the more complicated tests.

Also created CI and Nightly builds in Team City and added the status image to the README file.

Build Details:
<http://builder.smdg.ca/viewLog.html?buildId=12106&tab=buildResultsDiv&buildTypeId=bt159>