Updates to v1.38 new online couchapp and some code clean up

Whats new in this pull request:

* Cleaned up the permissions to remove superfluous quotes
* Now replicating sample dbs to new users' so they can have a couchapp ready for them