Implemented splitting of clusters

Clusters with bimodal amplitude distribution are split into two
Tweaked default params
Improved efficiency

Replaced Matlab's resample() by custom version, which is more efficient
and more convenient
Included spatial information in config file
Colored waveform plot
Standalone waveform pruning function

Needs to be incorporated into BP class
Externalized reading of config file into utility function
Standalone function for ordering templates

They're ordered first by peak location (top to bottom) and then
amplitude of the spike
Plotting traces with single unit spikes overlaid
Prettying up waveform plot
utility function for plotting raw traces
Restructured format of layout file

Encapsulated functionality related to layout into separate class
Made BP aware of channel layout
Moved pruning of waveforms within BP class
Removed obsolete function
Added merge step to fit()

Needs to be actually implemented
Fixed general control flow of fit()
Fixed typo
Changed interface to estimateSpikes

now using priors as input, not spike matrix
Implemented merging of templates