Setup file locking storage wrapped in setup hook

This fixes an issue when using file locking + encryption and try to list
a shared mount in the web UI.

Using the setup hook prevents having setupFS() be called twice in a row
and mess up with the mount points.
Merge pull request #1824 from owncloud/preventsetuptwice

Setup file locking storage wrapped in setup hook