towards PSR code standards: introduce namespace and auto-loader; convert tabs to spaces; convert comments to doc-blocks
introduce a Parser base-class and move the global serializeArray() function into a method
add autoload directive for Composer