Change constructors from class name to __construct().

Depends on #376 

This is a requirement for namespacing. Methods using the class name are not constructors when namespaced.