Preparing the code to be more easily unit testing in accordance with
our choice to unit test Bouncer. The following tasks were completed:

* Changing functions to be in a separate file to facilitate testing.
* Passing the SDO object directly into functions to facilitate the
  creation of a mock SDO object to uncouple Bouncer from a database
  during testing.
* The implementation of a recursive, stand-alone function for the
  querying of mirrors in the database, to facilitate testing this
  important functionality.
Upgrading the SimpleTest library. Adding a mock object and new
tests. Precursor to actual database tests.

.
Merge branch 'master' of github.com:mozilla/tuxedo into bouncer-tests

Conflicts:
	bouncer/php/index.php
Merge pull request #24 from brandonsavage/bouncer-tests

Bouncer tests