core: add `thread_get()`

Remove PID check duplication in `thread_getstatus()` and
`thread_getname()`.
pyterm: fix exit behavior if twisted is not available
Merge pull request #1582 from N8Fear/fix_pyterm_twisted

pyterm: fix exit behavior if twisted is not available
Merge pull request #1580 from Kijewski/thread_get

core: add `thread_get()`
make: added CPU_MODEL & TERMFLAGS to Makefile.vars

- added CPU_MODEL variable
- added TERMFLAGS variable
- fixed a little style (dots on the end of comments)
Merge pull request #1591 from haukepetersen/fix_make_vars

make: added CPU_MODEL & TERMFLAGS to Makefile.vars
board/pca10000: added make targets

- added `reset` target
- added `debug` target
- added `debug-server` target
- adjusted `flash` target
Merge pull request #1590 from haukepetersen/fix_nrf_maketargets

board/pca10000: added make targets
tests: enable cppcheck for PR in travis
SQASHME: move to script
SQUASHME: unify files to check
SQUASHME: make it possible to pass options