Update Test Case code

Summary:
Moved the maing TestCase class into foundation and uncoupled it from the test service manager.

Created a test case specifically for logic components that extends the main test case object and takes advantage of the test service manager.

Fixes T126

Test Plan: Run tests

Reviewers: brooke

Reviewed By: brooke

Maniphest Tasks: T126

Differential Revision: http://phabricator.cubex.io/D27