[FIX] OPW 591344 : internal reports don't show images

Cleaner method, and shows images.
[FIX] Fix the yml test with option --test-file. 

1 -
There was a confusing between kind and mode.
Due to the mode 'test', there are many part of code who was not executed.
The right value is kind='test', and arbitrary mode='init' (or 'update')

2 -
The yml test was always roolbacked, without check that command line had '--test-commit'.
It's has been fixed, now we check if param --test-commit is existing, else we roolback the transaction.

Rem for forward: function in trunk=saas-4 has been moved in : openerp/service/server.py - def load_test_file_yml
Launchpad automatic translations update.
Launchpad automatic translations update.
[MERGE][FIX] OPW 591344 : internal reports don't show images

Cleaner method, and shows images.
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5265 revid:dle@openerp.com-20140326091529-g7rlqc8tfxlk5u3b
Merge branch 'master' of bzr::lp:~openerp/openobject-server/saas-2 into ocb-saas-2