Replace all unsafe uses of eval with ast.literal_eval and hasattr/getattr
Fixes, performance tweaks
More performance improvements, fixes
Merge pull request #13 from hfaran/dev

Safety and performance tweaks