Adding pa_timer. It will unify all custom timers used by pa structures.
pa_core and pa_local use pa_timer
pa_pd now uses pa_timer
Little code maintenance
Adding basic support for pa_core_rule
Fixed the ping logic not to fail immediately sometimes if hnetd is very busy (the next_time calculation was bit optimistic).
Added next_prune counter, to make sure nodes that are not reachable are pruned even if there is no other activity in the neighbor graph. Seems to reduce test_hncp_net hangs to sub-2 percent, but still something bugging post-Trickle-fixing.
Change pa_core algo to use rules - Should allow adding cool prefix selection custom rules :)
Merge branch 'master' of https://github.com/sbyx/hnetd
Updated some debug messages.
Got rid of assume_bidirectional mode (it's not generic assumption, and can be made only per-interface, and adds lots of extra complexity). Also got rid of on magic #defined behavior change that wasn't enabled as it did not really effect performance in any case.
Merge branch 'master' of github.com:sbyx/hnetd
Slight code readability improvement in hncp_timeout.
Productized sput_maybe_run_test and converted test_hncp_nio to use it as well (facilitates debugging when you can just run one test case).
Made disable_prune disable _everything_ pruning related. This fixes
test_hncp_nio, as it assumes disable_prune option really stops pruning
(which it quite didn't, for a few commits now).
Merge remote-tracking branch 'origin/master' into trust

Conflicts:
	src/pa_core.c
	src/pa_timer.c
Adding malloc check
Move storage rule to pa_store
pa_store uses pa_timer
'started' field is redundant