some c++11 changes; implement TileSets

Signed-off-by: anti-freak <antifreak2011@gmail.com>