OctApps: a library of Octave functions for continuous gravitational-wave data analysis