Added a flash error message when an empty yaml is being imported

https://bugzilla.redhat.com/show_bug.cgi?id=1116704
Merge pull request #181 from AparnaKarve/bz1116704_fix_upload_empty_yaml_error

Added a flash error message when an empty yaml is being imported