fix exception declaration
Merge pull request #12 from cassej/master

fix exception declaration
the origexception class has been moved to the src directory, because it is a private class only used inside the library
removed debug code
Added include guard and allow array access operator on a const Value object
Added the call() method for Value objects, allowing calling of member functions of PHP objects
Fix segfault in module_shutdown under PHP5.3
Added an assignment operator to Value for nullptr
Merged pull request #14
Removed traits option: this would need to be conditionally included based on the PHP version, which we cannot do in headers (due to the fact we do not want to include the whole php library when compiling extensions)
Removed the ClassFlagged class and moved the access flags to a template parameter
Some code cleanup
Removed unnecessary function declareConst and made the declare function for memberinfo descendants override
Removed the static property from the example as this is not currently enabled
Rename function name with spelling mistake
Fix constant declare function getting called for non-const and vice-versa
Fixed a rather silly bug where a function no longer overrode a function from the parent class. Made this function explicitly override to prevent future problems
Added method to retrieve the implementation class from a Value object
Fixed makefile to refer to right /usr/ directory, and the operator()() methods in Php::Value are now all const (they do not modify the variable after all)
a lot of refactoring, to make it much easier to define classes in an extension