refactor autoUnit, add no_float paramater

autoUnit now has an optional argument 'no_float' which returns just an integer.
This makes the processes view more readble.

![autoUnit](https://f.cloud.github.com/assets/1393288/301430/cf1b2412-95d3-11e2-805e-ef713c8c1649.png)