set received parent lifetime when creating a new parent
initializes RPL instances
check if preferred parent was set before comparing
Merge pull request #383 from OlegHahm/rpl_fixes

Small RPL fixes