Added mocking for const qualified methods

Pull request for issue #9.
These changes add support for mocking const, pure, nothrow, @safe and @trusted methods.