THRIFT-2627:erlang backend doesn't support corecursive structs

client: erlang
patch: anthony molinari

add additional type specifications to generated erlang files to support
corecursive structs