[Fix] Correcting usage of companyid and storageUrl

- `companyid` is a two-way binding attribute so no longer applying `attrs.companyid` to the value of `storageUrl`
- if `scope.local` not applied and then setting a `$watch` on `companyid`, set the value of `storageUrl` based on the `companyid` value
- added `instanceTemplate` to scope of directive and eliminating use of `attrs` in `link` function, using `scope` to retrieve all values
- cleaned up white spaces
- removed unnecessary "test:ensure-directory" task from gulp file