Add missing enableDebug if-clause and force a trailing / on maildir.
Merge branch 'master' of https://github.com/hypery2k/owncloud
generateUrl parameter fix

The name "roundcube_refresh" was just the symbolic name for the
route-name in OC6, for generateUrl we need the entire path.