Subset included code files by line number

This commit adds support for extracting individually specified lines
from an included file.

It also adds unit tests for most code inclusion classes, and changes
the syntax for specifying git tagged file inclusions to
'git: {tag: a_tag}'.