parsing site instead of namespace and loop over all namespaces to see in which namespace the class is defined
review changes
using class_exists() instead of checking file exists
throw CM_Exception_Nonexistent
throw CM_Exception_Invalid inside page and catch in response
add test
add casting
mock correct class
combining the try blocks
extend exception message
Merge pull request #1029 from mariansollmann/issue-1029

Make pages in namespace optional