sobol qmc_sequence MEX: dimension larger than 1111 returns a proper
Matlab error message instead of crashing

(cherry picked from commit 45f7de33e8858f1b629c7d4cd031ed931567815d)
make_y.m: replaced max_lead and max_lag by 1, as the model is now
always transformed with leads and lags on one period only. Close issue #613

(cherry picked from commit 052faa2f93643a15ea1a94218209c74e753ee29a)
Fixes lot of Typos in the Manual
(manually cherry picked from commit ec41b0cf9ebf1eaeafc3147db549e538fc5a3b36)
Clarify initval and endval in manual
(cherry picked from commit e8b2b0208a3dc56bd89d3f479893891565fa3d1e)
Fix make_y_.m for purely forward/backward models.

This commit is linked to 052faa2f93643a15ea1a94218209c74e753ee29a and issue #613.
(cherry picked from commit 86dd4a56120b61ed8baa3a306050b8cb8c789d1a)
Fix size of M_.endo_histval.

Should fix crashes on models with leads/lags of more than one on exogenous.

Closes #617
(cherry picked from commit 9ba5814c2c475e27c8afe21c9ecd5d31c36e2eea)
Fixed homotopy for stochastic extended path.

(cherry picked from commit e1308a8192b9dbb800b281580e1d1cc6c040e3b9)
Fixed typo.

(cherry picked from commit f8543c0a97aa4550a6a982b319f5cefebdf9e7fe)
Add the GPL text
(cherry picked from commit f086359a9c6cc2729a0d668fd9be0d33354e6cff)
Fix capitalization error in dynare_estimation_1.m that leads to crashes if reached
(cherry picked from commit 221660dfeac30f44bfbd312dc1a4d9037f6640b3)