add customisable variable to control source buffer locking

-allow users to control whether the source buffers associated with
the debugger process(es) are locked (read-only mode enabled) when
debugging is in progress
Merge pull request #26 from elbeardmorez/srcbuf-lock

add customisable variable to control source buffer locking