transformKey method, array to dot notation, fixes #17

I took transformKey method from Laravel FormBuilder class.