Adding better testing and logging through Travis integration.

This pull request does a few things.

- Adds in official testing w/ PHPUnit.
- Starts the road to enforcing PSR-2 compatibility.
- Refactors code to match PSR-2
- Removes the Resque integration, which is hacky and doesn't test well.