Performance improvement to LookupTable 

Eliminating for-loops in the forward pass of LookupTable gives a ~60% improvement in speed. New version passes the LookupTable unit test.

Benchmark times on my local machine (2.5GHz i7): 5.6s before, 2.2s after.

Benchmark code:

```
require('.')
require('sys')

local l = nn.LookupTable(1000, 100)
local start = sys.clock()

for i = 1, 1000 do
  local input = torch.randperm(1000)
  l:forward(input)
  local batchInput = torch.randperm(1000):resize(100, 10)
  l:forward(batchInput)
end

print(sys.clock() - start)
```

Also changed the include path in init.lua to reflect the new path to test.lua.
can you change `local indices = input:clone():resize(nExample * nIndex)` to something like
```lua 
if input:isContiguous() do
   indice = input:view(-1)
else
   self._indice = self._indice or input.new()
   self._indice:resizeAs(input):copy(input)
   indice = self._indice
end
``` 
(it should be a little faster) .