Fixed issue 728. Uploading an invalid CSV file now shows an error message.
Added error message if encoding of the uploaded file is incorrect. Improved error message and fixed comment typo.
Merge pull request #1198 from daniyall/issue-728

Fixed issue 728. Uploading an invalid CSV file now shows an error message
Correct typo in models/user.rb