Fix #98 by checking for an object as the parameter to __get().
Throw exception if parameter to __get() is invalid. #98
Merge pull request #99 from bfeaver/stub-magic-get-98

Fix #98 by checking for an object as the parameter to __get().