add conditional module.postinstall event that when fired can be used for route loading. modify listener to compensate. fixes #1959
adjust install routine to accomodate firing postinstall event for dependencies also. refs #2056
use safer method of transfering array
correct comment
Merge pull request #2058 from craigh/routeLoadOnInstall

add conditional module.postinstall event