Merge pull request #49 from MattTuttle/master

Return tile index from Tilesheet.addTileRect
HTML5 SharedObject fix