Implement "near" completion method

The "near" completion method scans the lines around the cursor and provides
the words found on them as completion candidates.