General Fixes *DO NOT MERGE*

Because of the vertice order it was producing different gradients than GM8.1 when testing the following code.
```cpp
d3d_set_culling(true);
draw_rectangle_color(0,0,50,50,c_red,c_green,c_blue,c_purple,false);
```
The order of the vertices I have changed it to appears to work fine with culling.

This picture is before my changes.
![Before](http://i.imgur.com/VWpJSJe.png)
The following picture is after my changes.
![After](http://i.imgur.com/VMdOmit.png)

I also fixed some indentation using my 2-spaced setting as requested by Josh. This pull request was tested thoroughly on all 3 graphics systems and appears to work fine and may be merged.

I also fully fixed half pixel alignment by moving it into the screen view port function for all graphics systems, read the specific commit for details.