User-fix & Creation of dir /home/application

When adding the platform cordova and static the process quits, because of two reasons that I've fixed here.

1. The user "ubuntu" has already been created
2. You cant do a "mkdir /home/application" on a directory that's already been created

These fixes solves this.