Added hasattr implementation buildin
Implement str.lstrip and str.rstrip
Merge pull request #74 from kkszysiu/hasattr_buildin_impl

Added hasattr implementation buildin
Merge pull request #75 from undingen/strip

Implement str.lstrip and str.rstrip
Fix a list GC bug

The presence of an allocated "elts" pointer is determined by capacity>0,
but the GC handler was incorrectly only choosing to visit it if size>0.
Not all code paths free the elts array if size goes down to zero, so
it could happen that capacity>0 and size=0, and then the elts array would
not be tracked even though it was expected to be.

Added a test that illustrates this.
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