Renders waves in background

Rendering the views in the background prevents that the UI is blocked. I have added the FDWaveformViewDelegate which notifies the delegate when the rendering is done.

The eample is modified to show an example usage of FDWaveformViewDelegate.