When Chuck Dougherty took over as chief executive at American Science and Engineering Inc. two years ago, one of his priorities was to diversify the revenue base by increasing international exposure and by making more deals directly with state and local agencies. The company, which makes an array of sophisticated X-ray screening products, announced a contract last week that appears to accomplish a bit of both of those goals.