[IMP] test_ui shorter code
[IMP] phantomjs testing add an easy phantom_js helper

self.phantom_js(<page_to_load>, <code_to_run>, <global_object_to_wait>, **options)

example:

self.phantom_js("/", "openerp.module.mytest()", "openerp.module.mytest");

console.log('ok') or console.log('error') should be used to signal success or
failure. Other console.log's will be passed to the test logger.
Merge branch 'master' of bzr::lp:openobject-server