Point building

This PR includes:
1. Fix for #993 
2. Coding standard
3. Add total_needs to impact layer's keywords

Please note that some tests failed in QGIS 2.4, see #1223