added the ballot line result page and necessary tests.

Also fixed a problem that was causing several karma unit tests to fail.
added ballot line resuts page, functional and karma tests as well.