[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()
[IMP] restaurant: a module that extends the point of sale with restaurant features
[IMP] pos_discount: add an icon to the discount button
Merge branch 'master' into master-pos-small-imps-of-july-fva
handle missing JS files with a console log
[IMP] restaurant: add the order sequence number to the kitchen instruction receipt
[FIX] product: some fields on the product template readonly when my product doesn't have any variant
[IMP] restaurant: discard kitchen order changes when splitting the bill.