Changed the API to by more direct parallels of js equivs

Moved p.dict -> p.object and p.list -> p.array, since it better
represents direct equivalents to their javascript counterparts.
Added aliases for object and array; obj and arr

closes #9