Adds namespaces.
Changes generator to omit require-calls.

Because of composers autoload, require-calls are not needed anymore.
Applies code optimization suggestions by PHPStorm and namespace fixes.
Merges with current upstream master.
Adds File Iterator as dev dependency in composer.json.
Merge pull request #13 from adri/psr-0

Adds namespaces.