Adding https and cors features.

https is triggered by the --https command, works with every other
parameters
--cors allows cors for any Origin for any file apart for the njs one,
where one must manually add, for example:

  res.setHeader("Access-Control-Allow-Origin", "*");
  res.setHeader("Access-Control-Allow-Headers", "Cache-Control, Pragma,
Origin, Authorization, Content-Type, X-Requested-With");
  res.setHeader("Access-Control-Allow-Methods", "GET, PUT, POST");
Adding myself to the contributor list

..so when in 2038 the ssl certificate expires people can blame me,
instead of Andrea.
cleanup a bit

using short-circuit to avoid using the if to fix root (and other
possibly argument dependent affected functions) moving the splice in
the SSL and CORS boolean definition (now they are always real boolean)
Merge pull request #8 from kentaromiura/cc-https-and-cors

Cc https and cors
updated npm for the SSL capable version
remove the double splice

remove the double splice
Merge pull request #9 from kentaromiura/cc-optimize

remove the double indexof