Former Fox News host Pirro secures Senate confirmation with 50-45 vote, becoming US attorney for the nation's capital.