Unique name validation

This fixes #47 - where if you tried to create an app with an existing name, you'd just edit that existing one (even if you didn't own it). Security isn't a concern because it's a dummy app, but if 2 people are trying to edit an application with the same name at the same time, they'll edit each other's application, causing potential wtf moments.