fixed up broken unit tests (code, tests still fail)
Merge pull request #50 from phillip-haydon/cleanup

Unit Test fixes and cleanup.
- WIP: Fixing up the unit tests.
- Unit tests are all green. Yeah baby YEAH!
- MefHelpers updated to now do a check for a bin directory, in case the caller is a website instead of self host or unit test.
- Small code cleanups.
- Moved (not yet used) BitBucket provider unit test to the proper folder.
- Moved (not yet used) BitBucket provider unit test to the proper folder.