You should look at SizeUp, it basically does the same thing except for any window :D
(A few years ago, before I started using OS X, I wrote something similar for Windows, for use with AutoHotKey: https://github.com/tom-seddon/align_window2)
I didn't even need to program or customize any hot-keys since everything I want to do (full screen, half screen, quarter screen) is already built into a hotkey.