Added HHVM Support and backward compatibility with 5.3

```Added HHVM Support and Backward compatibility with PHP 5.3```

Created an "engine" to register possible functions,
this way, if the __PHP__ API change or we make usage of some __PHP__ API function that __HHVM__ does not support yet, we can easily add that.