Freeze Layer Parameters

Part of #29. Provide Ability to freeze some layers in the net. This is useful for bottom-up layer-wise pre-training. The user could freeze the lower trained layer and train only the top layer.