Merge pull request #27 from dochang/next

Fix several bugs
Checkout `$LIMS2_COMMIT` after `git clone`.

`git clone --branch` cannot checkout a plain commit id.  Use `git
checkout` instead.