Fix AtomicWriteFile decoding to strictly enforce decoding rules.
Added helper functions for BACnet type strict decoding.
Added unit tests for malformed AtomicWriteFile.
Shuffled and added comments in AtomicReadFile decoding function.
Partial fix for Bug #61 and Bug #62. CVE-2019-12480