Create empty application/logs,cache directories

By using .gitignore files that will ignore everything except the .gitignore.