Made FormHelper::end() compatible with CakePHP 2.5.2, ref https://github.com/cakephp/cakephp/commit/b32deed4aa7bac5aa3d1d84405e4a1d4dd9f2e16#diff-c02fdc21fc32c45375d9c450dc6bf062