Test eval() and closure interaction.

Unlike some other languages, it looks like eval()
doesn't force the capturing of outer variables.

Good thing too, since pretty much any function call
could theoretically end up resolving to eval().
Add some more GCJ solutions as test cases

These seem to work fairly well as tests since
- they don't use any external libraries, and
- they have a very straightforward input-to-output model

Added some more runtime functions
gcj_2014_2d is currently crashing pyston
make format
Implementation of __iter__ for tuple, added tests
Added __iter__ that return self, added __eq__ for list, implemented StopIteration
Replaced structs with classes
Fix a bug in our build system for LLVM

For the release build, was building both tools/ and tools/llc (and tools/opt),
which could potentially run at the same time and interfere with each other.
Sets were horribly broken since they didn't have GC handlers
Merge branch 'master' of github.com:dropbox/pyston into github
Found the crash: need to register set_iterator_cls as a static root
Added implementation of 'dir'

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Make the modules.py test succeed

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Additional improvements to the dir implementation

- Added dir0 which would in theory return the local scope, but
  for just returns the content of the builtins module
- Added a unit test file for dir which won't print anything as the
  list sorting does not work as expected at the moment
  (missing full implementation) and the attributes are different
  as well (pyston has some CPython 2.7.5 does not have and vice versa)
- dir1 implements the lookup on a passed object
  - If the object has a __dir__ method, it will call it and return the result
    returned by this method
  - Otherwise all class and instance attributes and methods are returned
  - If the object has a __dict__ attribute, additional to the previous one
    it will return the keys from that one as well

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Applied make format

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Extended test, usage of callattrInternal and getattr_internal

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Merge pull request #73 from kkszysiu/tuple_iter_implementation

Implementation of __iter__ for tuple, added tests
Format and lint checks
Merge pull request #64 from vinzenz/dir-builtin

Added implementation of 'dir'
whoops, somehow this didn't get merged
Start work on more elaborate argument handling

- Support parsing (but not running) **kw in function definitions
- more consistent assertion of what parts handle non-simple arguments or not