Add documents by collection feature added.
Updates to project controller and helper to make better user of instance and local varibles.
Updates to unit tests.

Signed-off-by: shanesuofi <shanes@vandals.uidaho.edu>