Fixed existing tests. Updated the MainTag field to prevent an error looking for MainMainTag.name
Cleaned up the tests to conform to Cake standards and also PHP5 strict standards. Swapped old _notation for a proper skip test.
Changed Linkable to actually read the associated keys from the model relationship rather than assuming them. This now allows for non-convention foreign and associatedForeignKeys.
Also included a test for the new functionality, along with associated figures.
Merge pull request #3 from davidyell/hotfix-habtmForeignKeys

Hotfix habtm foreign keys