Not need to call deregister when the status is STATE_REG_PENDING.
Merge pull request #14 from mythfish/master

Not need to call deregister when the status is STATE_REG_PENDING.
update registration on step if needed
Wakaama Core
------------
core/registration.c:
- in lwm2m_update_registrations()
  for status=STATE_REG_UPDATE_PENDING
  in case of a server down/up in retry periode
  ... do register() again!
  to achief rock solid client!

Test Client:
------------
tests/client/liblwm2mclient.c
- new commandline arguments: localport server serverPort
- server setting for objects server & security
tests/client/object_device.c
- correct resource impl.: Time Zone & Binding Mode
- correct resource impl.: Error Code (multiple resource!)
tests/client/object_server.c
- get_object_server(...) with parameter
tests/client/object_security.c
- get_object_security(...) with parameter
tests/client/object_location.c*
- new object implementation:
tests/utils/connection.h:
- change standard coap port to 5683 (unsecure)
  for better leshan compatibility

Build:
------
CMakeLists.txt
- object_location.c added
Project README changed to new LWM2M server/client testing ports
Fixed licence and copyright header for changed sources;
Modified include sequence for core/object.c;
malloc() call modified to lwm2m_malloc() in core/tlv.c;
MAX_PACKET_SIZE comment in tests/client/lwm2mclient.c;
shorter default values in tests/client/object_device.c;
fixed implementation and lwm2m_malloc/free() in test/client/object_device.c
get_security_object parameter modification in test/client/object_security.c
modification to the 1st push request reply.
replacement of strdup(serverUri) with lwm2m_malloc() in object_security.c
object_location.c removed JSON comment as link to leshan definition
Automatic registration bugfixes
fixed a segfault
Registration auto update fixes

* Fixed registration update time computation
* Renamed lwm2m_register to lwm2m_start
* Trigger registation only in "step" function