Some small fixes

- fix some scrutinizer identified issues
- resolve #226
Switching HTMLPurifier to composer management
Merge pull request #227 from geekwright/small-fixes

Some small fixes
Merge pull request #228 from geekwright/htmlpurifier

Switching HTMLPurifier to composer management
Update Snoopy to 2.0.0
Merge pull request #229 from geekwright/snoopy

Update Snoopy to 2.0.0
Merge pull request #8 from XOOPS/master

Get latest