improved typescript typing and organization of uproxy-pc 

* fixes a bunch `any` typings (but not all of them)
* moves the .d.ts file to live with it's definition (style-fix)
* renamed `freedom-interfaces` directory to `freedom-declarations` to avoid confusion with freedom interfaces in core providers, and to be more specific. 

TESTED: 
* grunt test
* manual test of `samples/freedomchat` (load chrome extension, then sending messages back and forth between the test inputs and looking at the console log). 
* manual test of `samples/chat`
* manual test of `samples/chat2`
If we plan to eventually add these to tsd, how about we follow their naming convention more closely, viz. `typings`? It's also a lot shorter than either `interfaces` or `declarations`.

Maybe `src/typings/freedom`?