A security source says "terrorists" have attacked the airport in Niger's capital and attempted to breach the security perimeter around the presidency.