Improved ArrayTool.
Added set of <period>asInt() methods.
Enabled testing on HHVM on Travis.