Small general fixes.
Some fixes to work under HHVM.
MySQL database engine returned for HHVM but just engine, not SQL files for installation/removing of system and components.

System version 0.416
modules:
Blogs 0.073
Comments 0.022
Cron 0.008
Deferred tasks 0.1.2+build-5
Disqus 1.0.1+build-2
Feedback 0.006
HybridAuth 2.1.1-cs37
OAuth2 0.031
Photo_gallery 0.019
Plupload 2.0.0-cs2
Static_pages 0.038
plugins:
Admin_default_theme 0.005
Fotorama 4.4.8-cs1
SimpleImage 2.4.0-cs1
TinyMCE 4.0.11-cs1