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`
It's better to have the most specific type. If you have `any` it suggests that the result type might be used, but it never it. `void` helps you realize that return type will never be used.