Added support for managing webapp directory permissions

Signed-off-by: Samuli Seppänen <samuli@openvpn.net>