change base install directory to '$basedir'

Add parameter $basedir.
Relocate installation base directory to $basedir.
Make user resource a 'system' user to avoid UID conflicts when provissioning
users with LDAP.
Merge pull request #9 from ashleygould/basedir

change base install directory to '$basedir'