Add the railroaddiagrams code from https://github.com/tabatkins/railroad-diagrams/
Add railroad diagram generation.