Return to the same AppCatalog page from the modal forms

After modal form 'Create Environment' or 'Add Application' is closed,
browser returns to the same page of AppCatalog it was before.

Also change 'Add to Env' to 'Create Env' button if no current environment
exists.

Closes-Bug: #1324527
Change-Id: Ib861d880adfc5374bf5f14c1a2dbc58ded682c20
Merge "Return to the same AppCatalog page from the modal forms"