Work on directory system.

Correctly imports the current working directory (on Linux). Still have
to work on manipulation, though...

Some other small improvements:
   * Any internal shell command will case getCmdLine to return an empty
vector
   * Run updateAttached in the constructor to make sure attached
variables are in sync with their environment counterparts
   * CrossLib::mkdir() now uses _mkdir() in Windows environments.