Merge pull request #7 from adam-vessey/7.x

Allow for generation and passing of JP2 dimensions.
Break highlighting functions into separate file, and rework.

Can now match phrases... It's not particularly efficient,
but it works.