PI Arch Revision 0002

Wrote in some functionalities for the scheduler.  Linked with the test
module and tested results.  Looks promising so far. Right now the
"Queue Now" queue is mostly done.  The event dispatcher needs more work
though.

Also updated the project file for local debugging.  We pthreads now.