Fix dialyzer errors.
Fix include file issue, when using eunit.
Merge pull request #45 from okeuday/develop

Fix dialyzer errors.
handle  jsx:encode([{key,value}])