added peephole support for buildNetwork shortcut for LSTMLayer

Hi, 

I've noticed that the peephole option for LSTMLayers is in buildNetwork available but not used. 
I fixed this in the Pull request. 

Thanks