Ve 588 add page undefined

Fixing type checking so "undefined" isn't considered a valid title for the create page dialog. 

Also white spaces fixes, so https://github.com/Wikia/app/pull/2044/files?w=1 would be helpful