changed the dict() to dict:dict() in the type spec of types and generate...

...d the -type spec for each record in the _types.hrl file

This is needed for Erlang R17 support as well as being able to run the code in dialyzer
Hi @cjimison good point but doesn't this break the compatibility with Erlang/OTP prior to 17.0? I think this could be done over an conditional macro defined in the rebar.config: ```{erl_opts, [ {platform_define, "^R", pre17} ]}``` and some additions with ```-ifdef(pre17). ... -else. ... -endif.```