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
Changed the path and cpath order

This undoes manipulation of the path/cpath performed by dok at
require-time.
Merge pull request #2 from akfidjeland/topic-path-order

Changed the path and cpath order
add copyright file
Added missing dependencies