Pref attach

This requires NetLogo/NetLogo#505 to be merged for tests to pass.  Pref Attach has confirmed as working in the browser! (awesome)