ability to add script plugins to oref0-pump-loop (#1212)
ability to add script plugins to oref0-pump-loop (#1212)

* initial add plugin function to loop

* plugins every/once script infrastructure initial functionality

* script plugin structure for oref0-pump-loop

* add code comment about executable bit

* update comments, logging, and run plugins at end of loop regardless of pass or fail

* adding -executable flag to find to simplify plugin logic

* call run_plugins in two places loop success and before loop fail function

* Always run_plugins after update_display

When a loop fails, we should do the various reason-for-failure checks (and display their output) before moving on to run_plugins.  Since we're doing run_plugins after update_display in the success case, we should do the same in the fail function.

openaps/oref0,openaps/oref0,openaps/oref0,openaps/oref0