Fixed php.Boot._hx_string_call error.

- Fixed passing arguments in wrong order calling _hx_last_index_of
  in php.Boot._hx_string_call.
Merge pull request #2522 from Sanva/development

Fixed php.Boot._hx_string_call error.
slightly optimize things (don't use hasOwnProperty when possible)