Merge pull request #10 from chris0210/mock-const-methods

Added mocking for const qualified methods
Extracted the isConst value into a separate template and regenerated the docs.
Moved the unittests in mockable.d to the bottom of the file and polished the formatting.
Style tweaks.
Tidied up the code generation in places remove unnecessary whitespace.
Removed the 'ref' attribute from the delegate signature as it's not currently supported there.