[core] Check if running with root privileges

Check if Willie is running with root privileges. If it does, print an error message and exit. 
This check will not work on Windows and I don't know if there is a *clean* way for doing this on WIndows.

Closes #489.