Add test for the opt local_dot22_to_dot22scalar
Make local_dot22_to_dot22scalar opt work in one more case.
code cleanup.
Merge pull request #3 from nouiz/lamblin-fix_1507

Add tests and opt one more case.