implement Tile and AutoTile BrushFill (with revert functionality)

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