Added zipDirContent functions into zip.js

Added zipDirContent functions into zip.js. I moved code required to zip tizen wgt here.