Dot product layer

#1471
Layer take 2 bottom blobs, treat them as N vectors of CxWxH floats and produce one top blob of N floats - dot product for each pair of vectors.
It's copy-paste, forgot to simplify.