Merge pull request #4 from nouiz/GSoC2014_part2

a few fixes
Change test file value
viewed_by and view_of reset
typo fixes
pep8
more pep8
Bugfix. We should only check the input that is viewed by a given output, not all inputs.