Handling of out-of-range weights in config

Previously the code was changing priority instead of weight, when weight in config was out of range.
Merge pull request #55 from kgawda/master

Removed problem for out-of-range weight in config
Solve issue 57: No default route installed with 2 database-mapping
Add timer to send info request + some small fixes
Merge remote-tracking branch 'origin/master' into natt-port
Merge with bug fixes done in master
General bug fixes
Create control and data sockets even no interface is up
Calculate NAT status when change of the interface
Change control messages to RAW sockets
Code cleaning. struct iphdr to struct ip
Free nonces structure outside function check_nonces. Fix periodic EMR interval
Configuration files updated