added install/uninstall
stmhal: Resolve question in comment about timer clock.
py: Clean up and simplify functions in scope; add STATIC in compiler.

Some small code clean-ups that result in about 80 bytes ROM saving for
stmhal.
py: Allow viper to have type annotations.

Viper functions can now be annotated with the type of their arguments
and return value.  Eg:

@micropython.viper
def f(x:int) -> int:
    return x + 1
py: Fix typing of viper locals; allow default types in annotation.
py: Viper can now store to global.
modified:  teensy/README.md

Updated teensy/README.md to reflect change in build process (teensyduino is no
longer required for build).
teensy/README.md (corrected typo)
Merge branch 'danpeirce-master'
stmhal: For non-debug compile, enable CC/LD opt to remove dead code.

Saves over 35k ROM due to elimination of unused HAL functions.  All
tests pass.

Addresses issue #702.
tests: Wait for just over 1 sec when testing RTC.

Waiting for 1000ms between seconds of RTC is sometimes too quick.
Waiting for 1001ms is enough for the RTC to pass 1 second.
stmhal: Fix printing of pin name in error message.
stmhal: In safe mode, still mount SD card and present as MSD over USB.

It's still "safe" because no scripts are run.  Remove the SD card if you
want to access the internal flash filesystem.  Addresses issue #616.

Also: remove obsolete pyb.source_dir setting, and reset pyb.main and
pyb.usb_mode settings on soft-reset.
py: Put SystemExit in builtin namespace.

Also fix unix port so that SystemExit with no arg exits with value 0.
Put some code into the first 16K of flash

This basically shrinks the remaining size of flash in the portion
that goes after the internal flash drive.
Merge pull request #803 from dhylands/ld-opt

Put some code into the first 16K of flash
py: Viper can call functions with native types, and raise exceptions.
py: Code clean-up in native emitter; improve thumb native calls.
Merge pull request #796 from turbinenreiter/makeinstall

unix: Added install/uninstall
py: Speed up GC allocation.

This simple patch gives a very significant speed up for memory allocation
with the GC.

Eg, on PYBv1.0:
tests/basics/dict_del.py: 3.55 seconds -> 1.19 seconds
tests/misc/rge_sm.py:     15.3 seconds -> 2.48 seconds