remove debugging prints
[dirty] Adding videoScalingFactor functions and AOI fixes

- Cleaned up getMousePositionsFromVideo()
- Implemented getVideoScalingFactors ()
- Changed getCurrentAOIs() to add the lastVTime constraint
- Changed the signatureImageDict structure, to allow parameters about a
sig to be stored
- Implemented an algorithm to first search at last known location, and
search the whole place if not found. **unfortunately, this won't payoff
unless very late in the video when most sigs have been identified. I can
hack this for ITDS because the sigs for all pages are at the identical
location.
- also tried to refactor the "match" part of the p2Task(); this produces
some weird output that I don't have time to debug. Move it back for now.

- enhancing various docstrings to add :param etc.
refactoring: moving some functions out

but I am running into a bunch of globals that I have to deal with.

Turns out I can't deal with those heavily relying on globals, e.g.,
those used in p2task related ones, where I can't directly pass the
globals.
rewote testtess.py

just to be more clean
[dirty] adding textMatch() and a bunch of other fixes

- changed import to avoid from X import *; as a result we introduce a
couple of module names

- removed doTemplateMatching() because it's duplicated from the 'match'
in value: code and won't run correctly.

- FOR ITDS only: in matching Assessment/items, once one match is found,
all other items are set to the same lastKnownPosition. Not going to work
for other projects!!

- For Proportional Punch, I had to create 'textMatch' to use ocr of item
numbers as the item id

- added YAML code for topleftTemplate and bottomrightTemplate parameters
for AOI shift/scaling factors. Note this is problematic if not all AOIs
are scaled to the same factor. Ideally we need to move to a per-AOI
setting.
[dirty] temp
fixing a bug
working: mostly

- fixed problems with the resizable parameter -- now it propagate
upstream in the AOI path

- also textMatch now ignores any ' '.