[resources] abstract resources type as resource_t. MUST BE INT SIZE (this is broken in 16bit. will be fixed soon)
[msp430] use CONFIG_16_BIT instead of direct check of CONFIG_MSP430
[resources] use resource_t in console resource id
[resources] adaptation of resource definitions for 16 bit (always keep it int sized)
[net] ip: fix length endianess