Nested optgroups (#470)
Nested optgroups (#470)

* fix optionGroup and added a function to handle recursively the arrays

* simplify recursively

* fix codestyle

* fix codestyle

* add new parameter annotation

djh101/html,sebdesign/html,laravie/html,LaravelCollective/html