Moved code from to Beremiz_service.py Server class Start method to Loop method to allow customisation by hot patching. Also renamed Stop method as _stop and use Restart instead of Stop from everywhere else to make it clear that _stop actually does restart...
These classes are intended for use server-side.
e.g. in a django view.py :
from pyjs.jsonrpc.django import JSONService, jsonremote