Add some classes and methods to existing classes

Add Functional subpackage; add Singleton interface; add attribute
sanitization method on Html
Merge branch 'master' of https://github.com/phpf/Util