Changed reprogramming code to allow writing at arbitrary position in the archive. Works for native, still untested for arduino platform.
Refactored the datatype of the app and lib archives in main.c for all configs, and made the pointer to the app archive available through djarchive.h.
This has to be implemented by the main.c of a config since different configs have different ways of storing it (separate file for native, and a constant array linked into the executable for wunode and taroko).
Reprogramming for native platform now updates both the on disk archive as well as the data in memory, so that the changes will be visible to the running program.
Added public wkreprog.h with the interface that can be used by other libraries to write to flash.
Make wkpf depend on wkreprog, since I'm adding a function to update the initvalues table in flash.
Added function wkpf_update_initvalue_in_flash that will check if a property for a certain wuobject is in the initvalues table in flash, and if so, update that value in the initvalues table to the current property value.
Merge branch 'wkpfreprog-write-random-position' into develop