Refactor vector code

* Uses of integer (x,y) are replaced with ivec class
* Types renamed to fvec, frect, ivec, irect
* Vector methods created to simplify code, e.g., center()
* Graphics system now uses ivec instead of fvec
Make gensprite.py work on stock OS X
Use sprite center as origin