Changed User#invalidate_token

Changed User#invalidate_token to reset api token expiration to
`DateTime.now` instead of `nil`
Added editorconfig file