Merge branch 'master' into develop after release
batadv.lua: lookup mac of base interface (i.e. eth0 vs eth0.1 = strip vlan suffix) since vlan might not exist yet on firstboot
batadv.lua: rewrite only first byte in ethernet mac, preserving entropy between manufacturers
remove rubbish /etc/lime directory that was lying around since wbm-packages
remove bmx6_dumb_workaround, seems http://www.libre-mesh.org/issues/28 is not an issue anymore on barrier_breaker
log debug output from firstboot lime-config into /tmp/lime-config.log
protect module function calls with xpcall, as per http://www.lua.org/pil/8.5.html
remove duplicated uci set uhttpd; later set in system.configure()
remove /etc/rc.local.d/ hooks structure, since it's unused and unnecesarily duplicates /etc/init.d/ functionality

if in doubt, check for example /etc/init.d/done that's really minimal (and actually is in charge of running
/etc/rc.local as a monolithic hook). Anything that would go in /etc/rc.local.d/* can be implemented with just
a few more lines as an /etc/init.d script, keeping LiMe closer to upstream architecture.
move /etc/lime/lime.release to /etc/lime_release, and correctly fill in templates
using sed, the same way /etc/openwrt_release is generated by upstream.

Solves ticket https://www.libre-mesh.org/issues/35
revert 'lime-proto-{batadv, bmx6} now accepts AP wlan interfaces' for release, don't do mesh over AP interfaces

It's not tested enough, and throws errors on firstboot when wifi is not yet up.
Should probably be configured in 'postinit' stage but that framework is just a plan for now.
bring back functions generate_host(), generate_address() and helpers, killed by Gio with 'Human understandable address generation' and 'Begin code razionalization and cleaning'
drop-in replace network.primary_address with the resurrected network.generate_address, merged with Gio's utils.applyMacTemplate logic
replace main_ipvX_address in /etc/config/lime-defaults with network-templated prefixes
update /etc/config/lime-defaults explanatory comments
unify template format: use %Mn and %Nn
refactor network.primary_address(), abstracting applyNetTemplate() functions into utils namespace
replace hardcoded batadv vlanid=11 with %N1 template, to allow multiple L2 clouds to coexist automatically
Merge branch 'hotfix/reintroduce-network-ids' into release/14.08

Fixes regression introduced a while ago, in 'lime-ng-config', that hardcoded
ipv4/ipv6 addresses as well as batadv proto vlan id, effectively breaking
the possibility to interconnect multiple autoconfigured clouds.
log debug output into /tmp/log/lime-config.log

Reported-by: Ilario Gelmetti <ilario.gelmetti@sns.it>