Configurable app base directory

* Replace hardcoded instances of /opt/wwc with $app_base_dir, which
  defaults to /opt/wwc.
* Add tags to nginx tasks so they can be selected independently.