Lecun_lcn reshape

Adding parenthesis to first reshape lecun_lcn function.
Added get_target_space() to model base class
Added binary_target and target_dim as inputs to softmax, added _target_space as datamember
Changed Softmax cost to use indexing instead of multiplication if the target space is an IndexSpace
Changed DefaultDatasetMixIn to call get_target_space
Actually added target_dim as input
Imported IndexSpace
Added a missing self.
Changed some parameters in 'rbm_tools.py' in order to reduce the running time of 'test_ais.py'.
Merge pull request #1005 from Andarius/master

Lecun_lcn reshape
Added get_target_space to mlp and Composite layer
Changed get_monitor_dataspecs to use target_space, fixed softmax cost to use gpu
Softmax cost is now fixed to account for multidimensional targets
Simplify YAML parse architecture for external use.
join(readlines()) -> read()
Backwards-compatibility API wrappers.
Cleaned up and dewhitelisted YAML code.
Merge pull request #907 from dwf/partialplus_yaml

WIP: Simplify yaml_parse IR with an eye towards external clients.
Merged from LISA Labo
Updated get_target_space docstring, cleaned up softmax cost, added binarytargetdim to languagemodel