Validate app names

Signed-off-by: Lewis Marshall <lewis@lmars.net>