Remove strcpy calls, proper use of strncpy/strcpy_s

Replaced all usages of `strcpy` with `strncpy` or `strcpy_s`.

Make sure that all usages of `strncpy` specified the correct buffer size.
Land #32, strcpy cleanup

Housekeeping against potential BOFs.
Explicitly apt-get update every time?

Trying to fix the failing travis build,

https://travis-ci.org/rapid7/meterpreter/builds/13001986
Land #37, apt-get update before each build