include muscles, see notes.txt for details

Add features to handle connections between neurons and muscles. Fixed some of the problems with handling neurons. Includes some patches from Petr Baudis.