vtimer: fix callback usage

There is no need to test the "handler" set in the vtimer struct, and
have some code executed then. We just can make the code to execute the
handler. To lengthy `if else if`, just a call.
ccnl: fixed commenting style
ccnl: eliminated empty translation unit warning
Reset the SAM3X8E before flashing
so as to avoid some hangups in the flashing process
core/msg: revert part of #1285

use m->sender_pid instead of sched_active_pid again
undoes the optimization intended by #1285
fixes uint/int warning
core/msg: set m->sender_pid before it is used

fixes `msg_send_to_self` condition
SQUASHME: do it right
tests&examples: use sizeof(stack) in thread_create

fixes #1392
tests&examples: apply coding conventions to sizeof
test: remove superfluous stack size defines
Merge pull request #1393 from LudwigOrtmann/issue-1392

tests/examples cleanup
Add argument to thread_create
core: remove extra thread_create_arg() function
Merge pull request #856 from Kijewski/issue-847

 core: add an argument to `thread_create()` (implementation)
tests: add pattern for short lgplv2.1 header

Add the license checker pattern which is advertised in our wiki.
Merge pull request #1396 from LudwigOrtmann/lgplv2.1-short

tests: add pattern for short lgplv2.1 header
core/thread: remove thread_create_arg from header

It's just a leftover from #856
Merge pull request #1397 from LudwigOrtmann/thread_fixup

core/thread: remove thread_create_arg from header
core: removed duplicated hwtimer_arch.h
Merge pull request #1398 from haukepetersen/fix_hwtimer_arch

core: removed duplicated hwtimer_arch.h