security: Move security-related files from ~/.ndnx to ~/.ndn

refs: #1363

Change-Id: Ie9f2fdd794dcdbf9cb95083efd79e468fea52e30
encoding: fix strict-aliasing warning and extending TLV test cases

Change-Id: I9455b3a3ad6e8860a9e939108896a481a3b64164