Added program core scripts.

Several APIs were added regarding security and system paths/constants.
The login program was started as an example of how programs might end
up working with the OS.

Also, the ProgramManager script was added which handles all program
execution with the Thread API.