Fixed api generation bug when dealing with ENUM fields. Improper values where being loaded.
Also updated the destination of files being generated with the --install flag.
Changed the autoloader to use require() instead of required_once(). I'm taking Tomasz at his word that there's a speed difference between the two.