fixing classloading issues and caplinjs class defs

- using a the parent classloader when loading plugins
- adding class definitions to the top of the caplinjs bundler
- explicitly making dashboard caplinjs style so it works with the new
  bundler