CDAP-474 Use maven resource filtering to automatically set version in cdap-cli scripts

Tested tgz and sdk
beware that you need to escape `${}` that you don't want get filtered since in bash shell `${}` is used for variable as well.

http://maven.apache.org/plugins/maven-resources-plugin/examples/escape-filtering.html