typo in event resource handler comment

at line 531 says PERIODIC_RESOURCE, shouldn't it be EVENT_RESOURCE, since it's a EVENT_RESOURCE demo?
New MACRO for creating jsontree_array

This proposed MACRO simplifies jsontree_array declarations. It takes as arguments the name of the array and its size. ( I've modified the indention as requested )
Also remove uninitialized motes
Merge pull request #600 from cmorty/pull/cooja-also-remove-uninitialized-mote

Cooja: Also remove uninitialized motes
native: Add CTK to the module list

It is needed for apps compiled WITH_GUI.
Merge pull request #603 from mmuman/native-platform-ctk-module

native: Add CTK to the module list
Bugfix: when a packet is sent by the RDC layer, we should count the number of transmissions made because a single callback can pertain to multiple transmissions at the RDC layer.
Use the same scale for ETX calculation as for rank calculations to avoid conversion errors between the two.
The check should be whether RPL_DIS_SEND is non-zero, not whether it is defined.
Avoid calling rpl_lock_parent for uninitialized memory. Renamed p to parent to make reading easier.
Merge pull request #575 from lecneri/patch-1

typo in event resource handler comment
Removed unused variable.
Merge pull request #607 from oliverschmidt/master

Removed unused variable.
Added rule to autocompile mspsim if needed and show warning if submodule MSPSim has not been initialized
Ensure that the objective function's reset function is called at least once. This will enable the objective function to initialize itself during run-time.
Cleaned up some of the comments and output strings.
Merge pull request #609 from adamdunkels/push/csma-fix

CSMA bugfix: count transmissions correctly
Merge pull request #610 from nfi/mspsim-auto-compile

Autocompile MSPSim and warn if submodule is not initialized.
Merge pull request #576 from nkigen/patch-2

New MACRO for creating jsontree_array
Merge pull request #608 from nvt/rpl-fixes

Minor RPL improvements