Replace deprecated getAttribute method.

Replace Form#getAttribute with Form#Config#getAttribute.
The Form#getAttribute method was deprecated in sf2.1 and removed in
sf2.3.
Merge pull request #8 from Tactics/feature/fix-deprecated-getAttribute

Replace deprecated getAttribute method.