Add better docs and coverage for references module
Add better docs and coverage for references module

Signed-off-by: Kevin Conway <3473c1f185ca03eadc40ad288d84425b54fd7d57@gmail.com>

kevinconway/pycc,kevinconway/pycc