Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit