remove else after tail call
move response call into own function
factor together duplicated test conditions
reverse sense of test
remove redundant variable
remove redundant else after tail call
Merge pull request #446 from mk270/tva/new

Tidy up new() function in view/applications.py