Initial work on issue 921: creating tests for FlattenerLayer.

I need some feedback on the following tests for FlattenerLayer:
1) I can't get the fprop to work on my toy example, what is wrong?
2) Do we need more tests on the "inner" FlattenerLayer to see if its other methods (e.g. get_monitoring_channels, get_weights, cost...) agree with what they are truly supposed to be? @dwf 

I'm pretty sure X_composite is already a tuple or a list, so you should not put it between brackets.