Fixed BmpRuleView not handling aliases correctly.
Initial support for lua scripts that manipulate maps.
Fixed some path handling in the .pro and .pri files.

http://qt-project.org/wiki/QMake-top-level-srcdir-and-builddir
Don't allow nil arguments where a type is expected.

Got to revisit this.  But tolua accepts nil even when a C++ argument is not
a pointer.
Implemented undo/redo for changes done by Lua scripts.
Moved luatiled.cpp/.h and libtiled.pkg from libtiled to tiled.

I'm gonna need the BmpBlender stuff which libtiled can't access.
Renamed libtile.pkg to luatiled.pkg.
Added setting pixels in BMP images via lua scripts.
Got tolua handling QList<T> and QVector<T> return types.

Also added missing tolua/src/bin.
Made tolua handle QList<QString> return value.
Fixed BmpRuleModel::setRules() not handling zero rules.
Lua scripts can create object layers and objects, write maps, etc.

Tilesets can be added to maps.

New LuaRegion class handles in-place operators that tolua can't handle.

tolua tweaked to handle list<T*> return values.
Added a lua console.