Various fixes and additions

* Changed the way in which signs ar attached to fences.
* Added a (hopefully) generic function to register new fences with signs.
* Merged signs mod completely.