fix object's static properties and constants (v 2.8.0)

* add Hooks::EXPECTS_MINIMUM_PARAMETERS
* add Hooks::EXPECTS_MAXIMUM_PARAMETERS
* add Hooks::TYPE_ARRAY
* call checkArguments at Hook::createObject()

Change-Id: Ibe47c3380be22c54ce5d76e697a7e03fd8b93552
Merge "fix object's static properties and constants (v 2.8.0)"