[IMP] point_of_sale: improved rendering speed of the partner list
[FIX] point_of_sale: order invoicing was broken
[FIX] point_of_sale: it was impossible to delete a pos session
[FIX] point_of_sale: it was impossible to delete a pos session
Merge branch 'master' into master-pos-small-imps-of-july-fva
[IMP] point_of_sale: show traceback popup when there is a server error when posting orders (which should NEVER happen !)
[IMP] point_of_sale: add debug popup that displays unsent order data, for when localStorage is hard to inspect
[IMP] point_of_sale: add a debug option to delete all unsent orders
[IMP] point_of_sale: add a basic UI unit test based on the new 'Tour' module
[IMP] point_of_sale: forgot changes in this file in the previous commit that introduced unit tests
[IMP] point_of_sale: tests work better when they are loaded and run by the unit test system!
Merge branch 'master' into master-pos-small-imps-of-july-fva
[FIX] data dir when home is not a directory

Use site data dir instead of user data dir when user's home is not a directory.
Like system users created with /dev/null as home.

Stricter than before.
[IMP] point_of_sale: made the server data loading more modular for easier development of point_of_sale extensions
[IMP] point_of_sale: report errors when loading the point of sale with a traceback and a nice popup
[IMP] pos_discount: a new pos extension that allows you to quickly give a global discount on the current order
Merge branch 'master' into master-pos-small-imps-of-july-fva
[WIP] Replace pyinotify by watchdog
[IMP] point_of_sale: allow an order to remember what screen it was on, instead
of switching back to default screen.

This is used by the soon to be merged restaurant addon to create new orders
and display them at a particular screen.  However, this behaviour is more
confusing in the other cases, so I'll think of a better way to solve this.
[FIX] point_of_sale: removed useless console.log()