Added span in parser state
Upstream updates to idrislang.sty

+ Fixed braces problem.
+ Removed clutter from file.
+ allowed for a static indent for xleftmargin.
Merge branch 'master' of https://github.com/idris-lang/Idris-dev into feature/parserspanning

Conflicts:
	src/Idris/ParseHelpers.hs
Prepared data structure of FC for spanning, and added the span of the
last token parsed to Idris
Fixed error reflection bug after change of sourcelocation definition
Unification tweak; better disambiguation

Fixes #963. Do alternatives after normal arguments so that more type
information is available.

(Ideally, order shouldn't matter - would be better to retry alternative
resolution if there were still ambiguities at the end, but this will be
fiddly to set up as things currently are.)
Merge pull request #964 from jfdm/idrislang

Upstream updates to idrislang.sty
Merge pull request #965 from ahmadsalim/feature/parserspanning

Preparation for spanning of source code in parser
Fix regression with data declarations in where

Also, start adding tests for examples from the tutorial (we need to
cover it all, really).
Add with_val and pureM syntax

Allows updating the set of effects based on a declared return value
(pure is not quite enough for this: we need to provide the return value
then a program which updates the set of effects/states to justify it
being a value return value!)

e.g. (somewhat contived, but...)

  readInt : { [STATE (Vect n Int), STDIO] ==>
              {done} if done then [STATE (Vect n Int), STDIO]
                             else [STATE (Vect (S n) Int), STDIO] }
                             Eff IO Bool
  readInt = do let x = trim !getStr
               if (x == "END")
                  then pureM True
                  else do putM (cast x :: !get)
                          pureM False

pureM x is equivalent to with_val x (pure ())
Make 'neweffects' the official effects package

Old effects is still there if anyone needs it, as 'oldeffects' but this
will be removed later.
Merge remote-tracking branch 'upstream/master' into error-reflection

Conflicts:
	src/Idris/ElabTerm.hs
	test/error003/ErrorReflection.idr
	test/error003/expected