Add resources dir to app template, ref #1016.