bin/permissions: make sure app/cache and app/logs directories exist
bin/init: move sudo call over to 'permissions' to allow mkdir to have proper owner