lib: add methods to properly truncate text
Merge branch 'lib'

Conflicts:
	lib/helpers/truncate_helper.rb
	test/helpers/tc_truncate.rb