Basic prefab work and middle-click support

Prefabs can now be added, though they are not currently visible at this
time. You can now middle-click a thing or prefab marker in order to copy
its attributes.