Local luarocks paths set up before base packages required

This means that the basic luarocks packages (dok, gnuplot, torch) can
live in the local luarocks tree.
Merge pull request #1 from akfidjeland/topic-require-order

Local luarocks paths set up before base packages required