check validity of profile or image before saving

this fixes a bug in the web UI where saving a system silently
failed if neither profile nor image were given. The cli checks
that case and returns an error
Update views.py

forgot to change errormassage before pushing the branch
Merge pull request #962 from klassenpeter/bug_save_system

check validity of profile or image before saving