Automate creation of CDAP Docker container

Here's how to find out if you're in the container or not...

```
if grep docker /proc/1/cgroup 2>&1 >/dev/null; then
  ROUTER_OPTS="-Drouter.bind.address=`hostname -i` -Drouter.server.address=`hostname -i`"
fi
```
Then, add `${ROUTER_OPTS}` before `-classpath` in the command line.