Added import -d option to dump ICS details and exit

This is the first time I've even looked at Python code, so it may not be the best way to do it, but it appears to work okay for me.