added peephole support for buildNetwork shortcut for LSTMLayer