hotfix) project.add_docs is sometimes called without specification of docs_array.
json output is revised.
revision for the case when 'encoding=ascii' is specified.
Merge branch 'working' into development

Conflicts:
	app/models/project.rb
rewrite_ascii spec removed.
ruby-dictionary gem added.
SequenceAlignment class is newly replaced with TextAlignment.
get_docspec is revised to give an array of div_ids when not specified.
fix for posting annotations.
automatic division and alignment of PMC documents works fine.
The array of unicode mappings is added to the TextAlignment module.
text selection revived.
as a result of annotation posting, the array of fits is returned.
store_annotations revised to choose divs properly during alignment.
Merge branch 'working' into development
Merge branch 'development'
addition (creation) of documents revised.
posting of json to document addition is possible.
[hotfix] header is corrected when posting docs.
div selection is corrected when annotations are distributed.
Merge branch 'development'