support dynamic name directory in template
support nested directory

 * https://github.com/HipByte/RubyMotion/pull/144#issuecomment-29203864
Merge pull request #144 from toshiwo/support_dynamic_name_directory

support dynamic name directory in template