PianoRoll: reset last note volume/panning when clearing project

In order to get a uniform behaviour when starting with a new project or
opening another project, reset volume and panning of last edited note so
new placed notes have default volume and panning.

Closes #644.
SampleBuffer: always sanitize start and end frame settings

An end frame variable always has to be greater than a start frame in
order to prevent crashes due to negative frame counts being calculated
in getSampleFragment() otherwise.

Closes #629.
SampleBuffer: more sanity checks in getSampleFragment()

Despite of the previously introduced sanitizing it still sometimes happens
that an end frame variable is not greater than the corresponding start
frame variable. Make sure we don't crash by adding more sanity checks in
getSampleFragment().

Closes #629.
ZynAddSubFX: allocate spectrum on heap instead of stack

When loading some presets the PADnoteParameters spectrum size is 524288
or even bigger resulting in a stack allocation of 2 MB or more.
This results in a stack overflow on Win32 and thus crashes LMMS. Fix this
by allocating the spectrum on the heap instead.

Closes #543.
Made 1.0.1 release

First maintenance release of the 1.0.x series.
Bumped version number to 1.0.1 in CMakeLists.txt, README and lmms.rc.in.
Remove Content/bin directory from .app

Fixes "..LMMS.app/Contents/bin" directory not empty message which occasionally occurs when bin has hidden OS X files in it.
Add LADSPA default path for Apple
CMake/FindWine: add suffix for finding library on Debian Testing

On Debian Testing the WINE libraries reside in /usr/lib/<arch>/wine.
Therefore add according suffix to search in as well.
LadspaEffect/TAP: fix instantiation/destruction

Instead of relying on naming the init functions _init() and _fini()
declare them as constructors/destructors and use a different name so
there's no double destruction

Closes #668.
CMake/FindWine: search for wineg++ executable

Instead of relying on wineg++ being in PATH search for it as it might
reside somewhere else.
Create mimetype for mmp,mmpz

Using Info.plist, register the mmp and mmpz mimetypes with the LMMS application.
Mimetype icon, Apple formatted
Copy project.icns to Resources directory
Clang comp. fix unnecessary else
Re-enabled SWH for Apple
Fix incorrect C99 loop declaration
Remove inline function recursion for Apple

q_sort is an inline function which recurses upon itself.  Some compilers such as MSVC limit this which can be overridden with a parameter.  Since I could find no such parameter for clang, this #IFDEF allows the sifter plugin to compile successfully.

If this approach has negative side effects, it should only affect apple.  If there's a better approach to this, please reject the pull request and submit your own.
Apple specific build path

Remove another offending inline function declaration for Apple compat.
Remove inline function declaration for Apple

Typo :)
Include lmmsconfig.h for OS #ifdef