Fix error messages rendering in change password

Fix error messages rendering because 'error_messages_for' was removed in rails 3.

fixes #33