Dependancy injection

Pass connector instance to the Akismet class so that the api calls can be tested. Also added a Test connector that mocks out the api calls for testing purposes.