WIP: (Mostly) working polling directive

Example implementation on city/region upload page

This is here to get some initial feedback on implementation, thoughts on ways to improve before I finish this up and implement it on the other pages tomorrow. Please comment!
Woo - so much deleted code!