Major code cleanup

This fixes jasperproject/jasper-client#123 and also fixes jasperproject/jasper-client#119. It partly resolves jasperproject/jasper-client#51.

You now should use "client.jasperpath"-module for all path related stuff (instead of hardcoding the strings). There's room for improvement (e.g. put the paths into a config file), but anyhow, this should do it for the moment.

Also, you really need to use the "tempfile"-module, which will create temporary files in the right location (and deletes them afterwards).

Last but not Least: I really don't get all this crazy sys.path-manipulation...what's the deal with that? I removed it for now.

I'll hope you can use these changes.

Fun fact: I did this to make it possible to create a ArchLinux PKGBUILD.
So we're recording 1 second and then take the last 20 sample chunks and calculate the average RMS from it.
Then we multiply with some value and voilà, that's the threshold.

I think, we should remove the hardcoded 20. Depending on the sample rate and chunk size we could also end up having recorded *less* than 20 sample chunks, which would throw a bug.

We could just use the number of recorded samples instead of 20:
![Calculation](http://latex.codecogs.com/gif.latex?%5Cbegin%7Balign*%7D%20%5Ctextbf%7BParameter%3A%7D%5C%5C%20%26%5Ctext%7Bmultiplier%20%7Dm%5C%5C%20%26%5Ctext%7Bnumber%20of%20recorded%20seconds%20%7Dx%5C%5C%20%5Ctextbf%7BAlready%20given%3A%7D%5C%5C%20%26%5Ctext%7Bsamplerate%7D%5C%5C%20%26%5Ctext%7Bchunksize%7D%5C%5C%20%5Ctextbf%7BRecorded%20chunks%3A%7D%5C%5C%20%5Ctext%7B%5C%23%20of%20chunks%20%7D%20n%20%26%3D%20%5Cunderbrace%7B%5Cfrac%7B%5Ctext%7Bsample%20rate%7D%7D%7B%5Ctext%7Bchunk%20size%7D%7D%7D_%7B%5Ctext%7B%5C%23%20chunks/second%7D%7D%20%5Ccdot%20x%20%5C%5C%20%5CRightarrow%20%5Ctext%7Bchunks%20%7D%20c%20%26%3D%20%5Cleft%20%5C%7B%20c_0%2C%20c_1%2C%20c_2%2C%20...%2C%20c_%7Bn-2%7D%2C%20c_%7Bn-1%7D%20%5Cright%20%5C%7D%5C%5C%20%5Ctextbf%7BCalculate%20threshold%3A%7D%5C%5C%20%5Ctext%7Bthreshold%20%7D%20t%20%26%3D%20RMS_%7Bavg%7D%20%5Ccdot%20m%5C%5C%20%5Ctextbf%7BCalculate%20%7D%5Cmathbf%7BRMS_%7Bavg%7D%7D%5Ctextbf%7B%3A%7D%5C%5C%20%5Ctextit%7BWhat%20we%20should%20do%7D%3A%5C%5C%20RMS_%7Bavg%7D%20%26%3D%20%5Cfrac%7B1%7D%7Bn%7D%5Ccdot%5Csum_%7Bi%3D0%7D%5E%7Bn-1%7D%20RMS%28c_i%29%5C%5C%20%5Ctextit%7BWhat%20we%20actually%20do%7D%3A%5C%5C%20RMS_%7Bavg%7D%20%26%3D%20%5Cfrac%7B1%7D%7B20%7D%5Ccdot%5Csum_%7Bi%3D%28n-1-20%29%7D%5E%7Bn-1%7D%20RMS%28c_i%29%5C%5C%20%5Cend%7Balign*%7D)

What do you think?