Migration to lucene 3
Added license to each file