refactored discipline picker for program years

* rolled the init function into the ilios.pm namespace, and all free-floating related global vars/functions into it.
* separated call to init function from function implementation.
* junked the php include file that was previously lumping it all together.