lxc-ubuntu: fix btrfs subvolumes when rootfs == realrootfs

An update to my previous patch adding btrfs subvolume support to the Ubuntu template. It fixes the case where lxc-create would not create a bind-mount of the rootfs.

I also updated the coding style of the functions I added to match the rest of the file.