py: Fix allocation of unique code blocks.
Add some example scripts for pyboard (some can run on PC).
This implements a better (more python-conformant) list.sort.

It's not really about that, though; it's about me figuring out a sane
way forward for keyword-argument functions (and function
metadata). But it's useful as is, and shouldn't break any existing
code, so here you have it; I'm going to park it in my mind for a bit
while sorting out the rest of the dict branch.
Merge remote-tracking branch 'upstream/master' into listsort. Lots of conflict fun.

Conflicts:
	py/obj.h
	py/objbool.c
	py/objboundmeth.c
	py/objcell.c
	py/objclass.c
	py/objclosure.c
	py/objcomplex.c
	py/objdict.c
	py/objexcept.c
	py/objfun.c
	py/objgenerator.c
	py/objinstance.c
	py/objmodule.c
	py/objrange.c
	py/objset.c
	py/objslice.c
A bit of stylistic cleanup (chose the wrong side during conflict resolution).
Add OSError, Python 3.3 generic I/O exception.
Merge pull request #105 from chipaca/listsort

A more python-style list.sort. And keyword arguments.
Fix LED pin enum

* Fix LED pin enum, first one should start at 1
* Fix LED initialization typo
Initial support for Teensy 3.1
Use constructor to create small int (avoid exposing mp_obj_t internals to VM).
Typo fix in comment.
Added dict iterator.
Added dict.clear.
Added 0 to the list of primes. Funky primes, these.
make dict_len use the map's used count
Added dict.copy
Added dict.get.
implemented dict.pop
Added dict.popitem
Added dict.setdefault
py: Fix up number operations and coercion.