Fixes #9 by allowing state variable to be changed by the managerRPC call...

updated ubf_plugin_handler.erl to handle state change by managerRPC callbacks. Added simple test to stageful plugin tests. 

.edts file is for a emacs plugin I use. I highly recommend using https://github.com/tjarvstrand/edts if you use emacs.