Added cgo scanning
more scanFiles tests
improved package parsing