AGREEMENT AND PLAN OF MERGER dated as of April 27, 2011 among LOOPNET, INC., COSTAR GROUP, INC. and LONESTAR ACQUISITION SUB, INC.