Add .cordova directory creation to build tasks buildTree function.

Fixes the issue on iOS, where nothing get's copied to .cordova directory if it's not first created like other directories.