Fix Pcbnew design rules dialog wxGrid tab traversal bug. (fixes lp:1060028)

* Set wxGrid tab behavior to leave grid when using the tab key.
* Lots of coding policy fixes.