Restore local settings once validated

Since validation removes local settings, Hapi couldn't validate objects
using local settings more than one time. The strategy here is to
remember those settings and restore them at the end once the validation
is done.
Merge pull request #134 from Marsup/fix_local_settings

Restore local settings once validated