Removed $${id} replacement and added default value settings for template in expand_net.py.
Missing var in the template layer will be expanded to its default value in template (if any) or its default value in caffe.proto.