Tempo synced Delay Plugin
Fixed issues with original verion, as directed in pull request.

 corrected the typeo's,
 Used sampleFrame instead of float* making the code cleaner.
 Set up a socket to change the samplerate where required.
 Stopped using malloc ( yeah that was bad practice on my part ).
 Now using lmms_Math.h and the predefined versions of F_PI and F_2PI,
 I didn't know data from the knobs etc. was not updated over the course of a buffer, so have moved outside the processing loop,
 made appropriate functions inline,
 used sinf.
 Multiplication has replaced division where possible,
 zeroing of the buffer has been removed, as redundant.
removed unused socket and empty function in delaycontrols
moved call to delayTimeModel.value() outside of process loop
The delay buffer now resizes on sample rate change.
tidy up formatting
Added linear interpolation , with help from Vesa
Improved ui
Merge pull request #1304 from curlymorphic/stable-1.1

Tempo synced Delay Plugin