#655 When re-uploading file, checking access rights
#656 Changed logic of checking, if entity has complete access lose
#658 Fixed create page command test
#658 File restore is available for users, having Edit role; also access level affects button visibility;
#660 Page content history restore is available only for users which has right to do it
#657 Widgets/Login.cshtml removed. CreateFirstUser.cshtml and Login.cshtml dialogs added into Users module.
Merge branch 'dev' of github.com:devbridge/BetterCMS into dev
#657 Logout action removed from the Users module as the Root module already contains it.
#668 Changed way of rendering message about destroying draft; added security checking for destroying draft;
#666 When user has no access to download file, returning 403 instead of 404
Fixed user login widget deletion migration script
#668 Fixed HTML content get command tests
Fixed security tests: added authorize attributes; some controllers added to exceptions
#646 When user has no access role, disabling add new content and sort icons
#646 Fixed tests for sort page contents command.
#668 Disabling delete button when page is readonly
#672 Is page is readonly, content options grid is also readonly
Installation migration versions are stored in a correct table from now.
Merge branch 'dev' of github.com:devbridge/BetterCMS into dev
Tests fixed.