Introduce console mode and basic getopt support

So, you can say something like:

php shelldetect.php -d /web/myweb.com

but you must have console=true in .ini file