1. What are trade ports used for?
Increase the amount of credits you get, just like refinaries
2. How many/at what planets should I build them?
i would start up with one at a time, if you are using tech, once u increase your initial planetary slots by 8 increase the amount to what ever you see fit
If you look through the SoaSE Wiki (I don't remember the URL off the top of my head), someone's written up an article detailing how planning a trade port chain can be more beneficial than simply spamming them on every single planet you own.
I usually do
3. How long until broadcast centers start increasing my planets and nearby planets allegiance?
once they are build 
4. How does the Monalith Cannon work?
it bascially fires from a stationary point, I usually don't bother, with my standard fleet, i can kill off a planet and colonize it before it comes, and hit myself ROFL
1. What are trade ports used for?
4. How does the Monalith Cannon work?
Once built and charged up, you click on the fire icon, and zoom to the galactic view where you can select a "Known" planet as the target. Then the cannon turns, charges up and fires... BOOM.
Hope that helps.
You can set it so it auto-fires