Add NearPtr class implementation - transparent offseted pointer of small size.

For example, allows to address up to 64KB of 32bit MCU with 16bit pointer
value. Useful when pointers need to be stored within in-memory objects.
Add NearPtr test.
First step towards switching to C++11.