stm: Add stm import support.
Merge branch 'master' of github.com:dpgeorge/micropython
Add long int implementation using C long long type, enable for unix port.
Implement LOAD_CONST_INT (by dispatching to int object implementation).
Merge pull request #184 from pfalcon/int-longlong

Python long int implementation using C long long
Add OverflowError and use it for small int overflow instead of assert.
Add store_item() virtual method to type to implement container[index] = val.
Make VM stack grow upwards, and so no reversed args arrays.

Change state layout in VM so the stack starts at state[0] and grows
upwards.  Locals are at the top end of the state and number downwards.
This cleans up a lot of the interface connecting the VM to C: now all
functions that take an array of Micro Python objects are in order (ie no
longer in reverse).

Also clean up C API with keyword arguments (call_n and call_n_kw
replaced with single call method that takes keyword arguments).  And now
make_new takes keyword arguments.

emitnative.c has not yet been changed to comply with the new order of
stack layout.
int: Add value accessors: mp_obj_int_get() & mp_obj_int_get_checked().

mp_obj_int_get() can be used when just full resolution of C machine_int_t
is required (returns truncated value of long int). mp_obj_int_get_checked()
will throw exception if Python int value not representable in machine_int_t.
Merge branch 'master' of github.com:dpgeorge/micropython
Merge pull request #191 from pfalcon/store-item

Add store_item() virtual method to type to implement container[index] = val
Implement framework for class-defined built-in operators.

Now working for class-defined methods: __getitem__, __setitem__,
__add__, __sub__.  Easy to add others.
Add testcase for subclassing builtin type and calling native method (broken).
Add skeleton implementation of array.array and bytearray.

So far, only storage, initialization, repr() and buffer protocol is
implemented - alredy suitable for passing binary data around.
Improve method lookup in mp_obj_class_lookup.

Now searches both locals_dict and methods.  Partly addresses Issue #145.
Merge branch 'master' of github.com:micropython/micropython
Add lean ("raw") socket module.
Add source file name and line number to error messages.

Byte code has a map from byte-code offset to source-code line number,
used to give better error messages.
Merge pull request #192 from pfalcon/arrays

Add skeleton implementation of array.array and bytearray.
Merge pull request #194 from pfalcon/socket

Add lean ("raw") socket module.