Make codebase compatible with Julia v0.3
Merge pull request #1 from aviks/v3compat

Make codebase compatible with Julia v0.3