Bugfix/make sometimes validation work on nested arrays

Introduce array_key_exists_recursive in order to be able to use 'sometimes' option for nested arrays. Additional 2 little helpers for easy getting first/last array element.