added sample for textureatlas with moai format

to enable change samples\textureAtlas load function (uncomment moai
version and comment sparrow version)
BitOp.splitmask / BitOp.splitbits

- added 2 operation for splitting a bitfield in a high/low values based
on mask (mask definition or mask size)
- TileMap uses this new function instead of a custom logic