Replaced hard coded datadir with variable.

Replaced "/var/lib/eligius" with "$pooldatadir" on several files.