Add check for number of empty lines between functions and fix the corresponding failures
Ref.: http://forum.mc-server.org/showthread.php?tid=1877
Ref.: #407