Clone template flock

Fixes lp:1311668

Use flock to serialise lxc template creation rather than juju/utils/fslock
Should be closing lockFile here if flockLock fails.