Add input command for unix
Merge pull request #582 from dhylands/unix-input

Add input command for unix
unix: Add missing stdio.h header for readline.
py, compiler: Start adding support for compile-time constants.

Just a start, no working code yet.  As per issue #573.
py, compiler: Improve passes; add an extra pass for native emitter.
py: Improve native emitter; now supports more opcodes.
tests: Add inline assembler test for pyboard.
tests: Add a test for native code on pyboard.
py: Fix emitcpy, to work with latest changes to PASS variables.
windows: Fix input.c missing in Makefile after changes for #582
tests/bench: Time namedtuple field access.

That's higher than instance field access - behold the power of hashing.
tests/bench: Add testcases for lookup in 5-el instance and namedtuple.

... and we have not that bad mapping type after all - lookup time is ~ the
same as in one-attr instance. My namedtuple implementation on the other
hand degrades awfully.

So, need to rework it. First observation is that named tuple fields are
accessed as attributes, so all names are interned at the program start.
Then, really should store field array as qstr[], and do quick 32/64 bit
scan thru it.
tests/bench: Add variation on loop_count/while_down_ne test.
tests/bench: Add tests for various ways to pass function args.

Passing 3 args with keywords is for example 50% slower than via positional
args.
tests/bench: Add testcase for positional/kwargs to enumerate().

Inspired by discussion in #577. So, in this case of builtin function,
passing args by keyword has less than 1% overhead.
Merge pull request #584 from stinos/windows-input

windows: Fix input.c missing in Makefile after changes for #582