New testing coding standards and example tests

After our [discussion at the OKF summit about a new test suite for CKAN](http://lists.okfn.org/pipermail/ckan-dev/2013-July/005421.html) we started working on some example logic tests. These need to be finished up, example tests for other packages written, and newing testing coding standards written up.

May only do part of this in this PR and end up making some new issues for the rest...