added support for basic type validation for arrays
Merge branch '2.0' of https://github.com/prestans/prestans into 2.0