Updated NEWS file
Tweaked the default window layout

* Mini-map is now tabbed beneath the Layers dock
* History and Maps docks moved to the right and are hidden by default
* Default window size was increased from 800x600 to 1000x700
Flareplugin: initialize number base to 10 when reading maps.

The default of flare maps is 10.

This commit removes the compiler warning:
..\..\..\..\tiled\src\plugins\flare\flareplugin.cpp:170:60:
warning: 'base' may be used uninitialized in this function
[-Wmaybe-uninitialized]
Removed an unnecessary separator in the tileset dock
Fixed Object Properties dialog not remembering its size

It was always resizing itself to its preferred size, so the mechanism
implemented in 28ea563 was not working for this dialog.

Fixes #339
Open Object Properties dialog when double clicking on object

Closes #300
Export/Import map background color to/from JSON
Depend on zlib directly when compiling against Qt 5

libtiled.pro is now set up to auto-detect a zlib installation at its
default location. When it is installed somewhere else, then the
environment variable 'ZLIB_PATH' should be set to the directory where the
'include' and 'lib' directories can be found that include zlib.

When compiling with MinGW, it will choose the static library to avoid
the need to copy a .dll around. When compiling with MSVC it will need the
zlib1.dll since I don't think the static library is compatible with that
compiler. The MSVC build has not been tested yet.

It expects zlib to be installed by using the package available at
http://gnuwin32.sourceforge.net/packages/zlib.htm

Closes #285
Simplified IsometricRenderer::pixelToTileCoords
Import/export terrain information from/to JSON

Fixes #350
Bump the maximum tile margin and spacing in New Tileset dialog

The maximum was at 99 pixels and somebody was hitting that limit. The
main reason for the maximum is because QSpinBox determines its size
based on the maximum value. With the current layout, the maximum can be
9999 and it will still be the same size, because it's aligned to the
tile size spin box anyway which has that maximum already.

Closes #359
libtiled-java: Added zlib compression support to TMXMapWriter
libtiled-java: Do not output width and height for ObjectGroup

It's obsoleted.
libtiled-java: Do not store firstGid in each TileSet

Instead, they should be calculated on-the-fly when writing a TMX file.
Loading TMX files should parse the gids while the file is being loaded,
but not persist them inside the TileSet.
libtiled-java: Added support for caching tilesets

For example, when reusing the TMXMapReader to load several TMX files
that all have the same tileset definitions, the loader does not have to
load the tileset images several times, thus making the loading process
much faster.
Raised map size limits beyond all reason

Avoid crashing on map creation by not automatically creating a tile
layer when its size would exceed a gigabyte, and warning the user
about this fact.

Maps that only use object layers work fine at this size.
Added MapObject angle

* Added support for angle in TMX, Lua and JSON plugins
* Added support for angle drawing in orthogonal map renderer
* Added angle to Object Properties window
* Adapted MapObject bounding box (only rect shape and tile object) in
  orthogonal map renderer to contain the angle arrow
* Added a view option to enable or disable angle arrow
* Polygon/polyline don't have angle arrows

Conflicts-resolved-by: Thorbjørn Lindeijer

Conflicts:
	src/libtiled/mapobject.cpp
	src/libtiled/mapobject.h
	src/libtiled/mapreader.cpp
	src/libtiled/maprenderer.h
	src/libtiled/mapwriter.cpp
	src/tiled/mainwindow.cpp
	src/tiled/mainwindow.ui
	src/tiled/mapscene.cpp
	src/tiled/mapscene.h
	src/tiled/objectpropertiesdialog.ui
	src/tiled/preferences.cpp
	src/tiled/tiled.pro
Renamed object angle to object rotation
Added a 'snap to fine grid' feature

Allows for objects to be placed accurately at sub-tile increments.
Added a rotation handle to the map object item

The item is now rotated rather than just showing an arrow.

There are still some problems with this:

* Edit polygon tool does not cope with it
* Would feel less weird when objects rotated around their center
* This makes no sense for non-tile objects on isometric maps

Closes #11  (support for rotating objects)
Closes #325 (rotate object image)

Sponsored-by: Ben Wales