py: Add copyright/license header to each file.
mingw: Fix number of exponent digits in floating point formatting

By default mingw outputs 3 digits instead of the standard 2 so all float
tests using printf fail. Using setenv at the start of the program fixes this.
To accomodate calling platform specific initialization a
MICROPY_MAIN_INIT_FUNC macro is used which is called in mp_init()
Add device ID to deploy make target for stmhal.
py: Add --dirty flag to git describe.
Merge pull request #557 from cjbarnes18/device_id_in_deploy

Add device ID to deploy make target for stmhal.
py, stream: Implement readlines for a stream.
Merge branch 'mingw-float-printf' of github.com:stinos/micropython into stinos-mingw-float-printf
windows: Argument to () function should be (void).
Merge branch 'stinos-mingw-float-printf'
Merge pull request #535 from pfalcon/blurb

Proposed license/copyright file header.
Add license header to (almost) all files.

Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
tools: In build-stm-latest, replace git hash with git tag.
updated to fit new acceleration and time/millis

Changed pyb.accel() and pyb.time() to the new pyb.Accel() object and pyb.millis() function.
Also shortened the loop so the writing is finished before the USB connection messes things up.
Merge pull request #561 from turbinenreiter/patch-1

updated to fit new acceleration and time/millis
updated to use new pyb.Accel() object
Merge pull request #563 from turbinenreiter/patch-2

updated to use new pyb.Accel() object
unix: Remove test class and code.
tests, pyb: Add 'import pyb' when needed.
stmhal: Document physical pins for SPI, I2C, UART busses.