Factor out the include/import implementation.
Single action for import/include.
Missing copyright.
Use version switch for new include/import functionality.

I didn't mean to check it in. But now I have, let's pretend it was
deliberate. Not finished yet, and I should be dealing with other things
at the moment.