Lib reorg WIP + fixes

1. checking in script/lib work to avoid drift, but it's most
definitely not in final form, nothing should track this version
(hopefully EOD on final).

2. fixed issue #33, _pmap.apply()

3. fixed issue #34, _when.apply()

4. fixed issue #38, ChainedList.find()

5. import foo; now starts by looking in importing module's path

6. patched javassist.jar to fix #36 (how to institutionalize this?)

7. misc housekeeping