Fix bug in connection to password protected instances

A set of commands to the Connect*Cache functions is incompatible with
instances that require a username/password to access the programmer
prompt.  It was added to attempt to  ZN into a namespace before running
the test script.  It is not necessary and causes an issue.

Remove the commands and add them back to the test
functions that are missing them.

Change-Id: I7a4183a95c931128ee63c9e8d9b6d81615ec0c4f
OSEHRA-Id: http://issues.osehra.org/browse/OAT-123
Update XINDEXExceptions for 2014-01-09 FOIA

Add the updated line locations for previously excepted errors in the VAEE
Packages that have appeared in the FOIA that was released on Jan 9, 2014

Change-Id: Icfb1048a8bd142e0eb1e6a47d1f485bc19722deb
OSEHRA-Id: http://issues.osehra.org/browse/OAT-127
Merge "Fix bug in connection to password protected instances"
Support renaming of _ to % routines

GT.M stores % routines as _{RoutineName} instead of %{RoutineName}.
Enhance PackRO.py to perform the rename if it sees _{RoutineName} to
%{RoutineName}.

Change-Id: I0fc12a55325e48bf455454d54ab2cfa37369dd25
Suggested-by: Sam.Habiel@gmail.com
OSEHRA-Id: http://issues.osehra.org/browse/OAT-128
Add "Verify Fields" test for Fileman Data entries

Add a test that uses the "Verify Fields" utility of Fileman to check the
files associated with each package.

It should get the list of files to check for each package from the
"File Numbers" field in the Packages.csv and enter each file by selecting
the file by IEN:  `####.

Add a VerifyFields python file that will be configured with connection
information and will access the FileMan "Verify Fields" utility for each
File found in the Packages.csv.  It should stop the display of errors
after the first error message is reported.

Due to timeouts occuring with exceptionally large files, add steps
in the script to skip checking files that have >300,000 entries.

Add an option in Testing/CMakeLists.txt to control whether to run the
VerifyFields tests, and mark the option as advanced.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-126
Change-Id: Idbf5860a63c101e616fdd57c8476931fd9b2d874
Merge "Add "Verify Fields" test for Fileman Data entries"
Add UserTest directory for integration

Add a UserTest directory that contains only a CMakeLists.txt file to help
add tests to the environment without understanding the complexities of the
repository.

Add a blank CMakeLists.txt to the UserTest directory with a message
explaining the purpose of the file with an example command.

Add an option "TEST_VISTA_USERTEST" to control whether to run the
add_subdirectory command.

Add an add_subdirectory command for the UserTest directory the command
should only be run if the TEST_VISTA_USERTEST option has been selected.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-122
Change-Id: Iadcc11467818f5ec6a52b788ce3f328ee7fb6725
Modularize VistATestClient Arguments Passing in CMake

Create two functions to generate VistATestClient Arguments list
in CommonFunctions.cmake file. Refactoring all places to use the new
function call. Also remote extra quotation marks in UnitTest.cmake.in to
get rid of a cmake warning.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-130
Change-Id: I64fdb9dd6a3789fbab87a9f611b065124087a2d4
InterSysCacheUtils: Support mount/dismount local db.

Add two utility functions to mount and dismount InterSystem
Caché local db using ^DATABASE API.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-129
Change-Id: I500fb81b9a4d3dfcc5e5a0d9917e097baacf6d83
VistATestClient: Add telnet host/port as input parameters

Also set the default values for telnet host and port.
Change waitForPrompt method timeout value to the default one.
Add two test functions in VistATestClient and create a
Python Unit Test script for it.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-130
Change-Id: I3d7c780afab8623ec518c6e9c92b5e1dc1ee4663
Merge "InterSysCacheUtils: Support mount/dismount local db."
Merge "Modularize VistATestClient Arguments Passing in CMake"
Fix username/password bug for RAS tests

The code used in the OSEHRA RAS functional tests are unable to
run on an instance that uses a username/password prompt before displaying
the MUMPS prompt.

Change the RASTest.cmake.in to export the VISTA_CACHE_USERNAME and
VISTA_CACHE_PASSWORD value to environment variables.

Change the TestHelper code that connects to the instance to attempt to grab
the VISTA_CACHE_USERNAME value.  After connection, the
test_suite_details.username will be checked for a value.  If it exists,
the code should grab the VISTA_CACHE_PASSWORD value and use them to
answer the sign in prompts.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-132
Change-Id: I2e927f6b9447b1f744d866470491859dcaf7a51f
Merge "VistATestClient: Add telnet host/port as input parameters"
Add the M Standards and Conventions to the Documentation

Convert the M SAC Document located at:

  https://downloads.va.gov/files/FOIA/Software/Policies/SACC_2008%20(508%20Compliance%20Check%20Pending).doc

to an rST document.

Change-Id: Ic5e83602cc7b63ad5950f9ab5c4a63d7a240d5bb
Merge "Fix username/password bug for RAS tests"
Fix if statements in Registration RAS device handling

The Registration test fails in Linux/Cache environments due to code that
has the script expecting to see the "Right Margin" prompt after selecting
the device to write to.  This prompt has only been seen on Windows
evironments.

Change the 'if' statments that control this code to use

" sys.platform == 'win32' "

instead of

" self.VistA.type == 'cache' "

Import the sys library where necessary.

OSEHRA-Id: http://issues.osehra.org/browse/OAT-133
Change-Id: I534e471214c2e6d027c0beaffd21b52ace7803b4
Merge "Fix if statements in Registration RAS device handling"
Merge "Add the M Standards and Conventions to the Documentation"
Install Scripts - Doc: Add prerequisites and clarify configuration step

Add 2 missing prerequisites for installing the plugin and importing the
base box (for both AWS/EC2 and Rackspace)

Break configuration out to automated and manual and make the reference
to the setup*.sh script more explicit.

Change-Id: Ieb7be311ebfef6a0e5f29ed55edb123ac3598a18