check for assigning to non port inputs and make sure all module io are ports

Conflicts:

	src/main/scala/Bits.scala
	src/test/scala/DataTest.scala