A density functional study of small alkali halide systems